• Resolved isign4jc

    (@isign4jc)


    I have been toiling over this issue all day long and can’t seem to find a fix for it. I am using “pretty” permalinks so that only the postname is being shown in the URL. It works beautifully on all grandparent and parent pages or categories, but does not find the stylesheet when on a child page or category. I noticed that if I switched the permalink structure to default, it finds the appropriate stylesheet and works perfectly for the child pages/categories, but every time I switched back, it lost it. Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do not use only /%postname%/ as your permalink structure, you’ll only have problems. Choose another permalink structure with something else in addition to /%postname%/.

    even if its just something static like %postname%.html or /doc/%postname%

    My guess is that you are not using absolute URLs for the stylesheet.

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    See: Theme Development

    Thread Starter isign4jc

    (@isign4jc)

    Hmm..I just realized that no matter what other option I choose on my permalinks settings area, it always gives me the structure of /%postname%/ . It only gives me two options, either that or the default. Apparently I can’t add the month, or html option or anything. I am totally up for adding the html thing, but it just won’t work. Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pretty Permalinks not finding stylesheet in sub sub categories’ is closed to new replies.