[resolved] css wont display on site other than index.php and search.php (3 posts)

  1. iori
    Posted 7 years ago #

    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!

  2. Matthew Muro
    Posted 7 years ago #

    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" />

  3. iori
    Posted 7 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic