Jump to:

1347 Posts in 439 Topics by 514 members

Themes

SilverStripe Forums » Themes » css3 pie not working

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 749 Views
  • felito
    Avatar
    Community Member
    10 Posts

    css3 pie not working Link to this post

    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

  • Webdoc
    Avatar
    Community Member
    329 Posts

    Re: css3 pie not working Link to this post

    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 SilverStripe Web Hosting? Look no further than Arvixe Web Hosting!

    749 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.