WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] css wont display on site other than index.php and search.php

[Resolved] css wont display on site other than index.php and search.php

  • Hey all,
    I have a frustrating problem with my site. For some reason my stylesheets wont show up other than on my index.php or search.php files. This is a personal theme that I have been working on my site. I used the default theme as a starting point, but I instead use my own stylesheets. the site is aumode.net. Any help or tips would be greatly appreciated, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You CSS isn’t working because you aren’t referencing the directory your stylesheets are placed in correctly.

    You should use the bloginfo template tag.

    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>css/default.css" />

    Wow, the tag <?php bloginfo(‘template_url’); ?> helped tons. Everything just came together. Thank you so much for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] css wont display on site other than index.php and search.php’ is closed to new replies.
Skip to toolbar