Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Themes

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

css3 pie not working


Reply

2 Posts   881 Views

Avatar
felito

7 March 2013 at 12:27pm (Last edited: 7 March 2013 12:27pm), Community Member, 10 Posts

What is the correct way of use css3 pie with silverstripe?

I have this in Page.ss

<div id ="myAwesomeElement" >asdasd</div>


and this css in themes/simple/css/layout.css

#myAwesomeElement {
border: 1px solid #999;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
behavior: url(pie/PIE.php);
}

And the pie folder inside themes/templates/pie/

At the moment this give me an 404 error for /dev/index.php/pie/PIE.php

Avatar
Webdoc

11 March 2013 at 6:17pm (Last edited: 11 March 2013 6:38pm), Community Member, 332 Posts

Try in your css
#myAwesomeElement {
border: 1px solid #999;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
behavior: url(../../templates/pie/PIE.php);
}
if its really located in themes/templates/pie/

ifi its in themes/simple/templates/pie/ then use
#myAwesomeElement {
border: 1px solid #999;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
behavior: url(../templates/pie/PIE.php);
}

--------------------------------
Arvixe Web Hosting / SilverStripe Community Liaison |
Looking for quality [url=http://www.arvixe.com/preloaded_silverstripe_hosting]SilverStripe Web Hosting[/url]? Look no further than [url=http://www.arvixe.com/]Arvixe Web Hosting[/url]!