• hi
    i’ve been triyng to get a page in wordpress to display using its own css.
    i’ve tried to do this by inserting this code in the template php file for the page (replacing the previous code pointing to the style.css)


    <style type="text/css" media="screen">
    /*<![CDATA[*/
    @import url( <?php bloginfo('http://www.yoursite.com/wp-content/themes/themename/page.css'); ?> );
    /*]]>*/
    </style>

    and making my own page.css

    now the page isn’t displaying with ANY style.
    what would be a better way to do it?
    thanks.
    Ronny.

Viewing 1 replies (of 1 total)
  • Thread Starter Ronny

    (@ronny)

    ok solved. just had to change it to

    <style type="text/css" media="screen">
    /*<![CDATA[*/
    @import url( http://www.yoursite.com/wp-content/themes/themename/page.css);
    /*]]>*/
    </style>

Viewing 1 replies (of 1 total)

The topic ‘give a page its own css’ is closed to new replies.