The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Same style sheet, different appearances on different pages

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #205432

    I am using wordpress to host my webcomic and have a set style sheet that all pages are suppose to pull from.

    With WordPress, all pages pull the same header.php file, which is where the ‘link rel’ is for the css file as well as the html for the header itself. So in theory all the pages would have identical menus.

    However, on the main page, the main menu is showing up different than it does on all other pages.

    incorrect menu : (literally only off by like 3 px)

    if you navigate to any other page, you see how the menu was intended to appear.

    I cannot for the life of me figure out why it’s acting different on the main page. Does anyone have any tips on where I may be going astray?

    Full style sheet :


    The menu on each page is not responding to the same lines of CSS, the home page ultimately responds to theme.css while with the ‘comic’ page for example it is style.css. On the main page 5 pixels of top and bottom margin are added.

    The page has some errors – there’s a stray document type and a second style.css is called among other things.


    Oh man, I feel so silly that I missed that. Thank you. That solved the problem!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.