WordPress.org

Ready to get started?Download WordPress

Forums

another template problem (6 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    http://wordpress.org/support/3/14047
    See above for the background. I'm the same person with the same blog, same problem. I've uploaded another template, renamed the file properly, and the name of the layout file [wp-layout.css] matches the <style> tag in my index.php
    Yet it still won't load. I'm stumped. Help?

  2. moshu
    Member
    Posted 9 years ago #

    Well, if you have the same as posted in the thread you just linked to, i.e. THIS:
    @import url( <?php echo $siteurl; ?>/<?php echo whatever.css; ?> );
    I am wondering where did you get it from?

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    <style type="text/css" media="screen">
    @import url( /wp-layout.css );
    </style>
    That's what I have. I cut-and-pasted it directly from the previous thread (see above), and it worked temporarily.

  4. Root
    Member
    Posted 9 years ago #

    IMHO the url is incorrect. I would try to drop the leading slash and see what happens.

  5. Muffinboy
    Member
    Posted 9 years ago #

    Most probably you want this in your index.php:
    <style type="text/css" media="screen">
    @import url( <?php echo $siteurl; ?>/wp-layout.css;);
    </style>

  6. Anonymous
    Unregistered
    Posted 9 years ago #

    Thanks for the tips, everyone. It's working now. It was something far more mundane: I had renamed the file to 'wp-layout.css.css' accidentally.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.