Forums

CSS not showing on test theme (3 posts)

  1. squidz
    Member
    Posted 2 years ago #

    seems to be something simple but has now burned over an hour trying to find a solution.

    I am doing a first attempt at building a custom site/theme. I cannot for the life of me figure out why the CSS is have no effect on the page. Granted, the page is unfinished and a mess, but the CSS should be showing.

    http://www.squidzink.net/wordpress/index.php

    I can hit the style.ccs file directly no problem.

    I've reviewed other posts here, but none of them seem to provide a straight answer.

    Current Version of WP.

  2. jmodjeska
    Member
    Posted 2 years ago #

    You appear to be missing the 'rel' attribute in your external stylesheet reference.

    Try replacing line 33 with:
    <link href="http://www.squidzink.net/wordpress/wp-content/themes/squidz/style.css" rel="stylesheet" type="text/css" media="screen" />

    You also don't really need to specify the media unless you have an alternate stylesheet (i.e., one for print).

    More info:
    http://www.w3.org/TR/html4/present/styles.html#h-14.3.2

    -- jm

  3. squidz
    Member
    Posted 2 years ago #

    oh my frickin'frickity! Man, thanks a mil for seeing that. I guess I zapped it when putting in the PHP calls. What a bunch of burned midnight oil.

    Works nicely now and let me see that I'm on the right track. Onward through the fog!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.