Forums

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

Home Forums Back End [Solved] WordPress – Archive pages all out of whack

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27450
    rjmccollam
    Participant

    This is only my second wordpress themeing and I am having an issue with the monthly archive pages. You can recreate the issue by going to http://counterbalanceclothing.com/blog and clicking on one of the archived months in the bottom of the sidebar. I have played around with the archive.php file in the theme, but am having issues still.

    Any help would be greatly appreciated. If you need anymore information please let me know.

    #68961
    AshtonSanders
    Participant

    Yea… one of your archive pages is not playing nice with your header, footer etc.

    What I would do is back up and delete your archive templates (date.php and archive.php) and create new ones based off your working index.php template. More information about the which files count as your archive templates here:
    http://codex.wordpress.org/Template_Hierarchy

    #68964
    rjmccollam
    Participant

    Thanks for the link that helped explain some stuff. I went ahead and deleted archive.php (after I backed it up) so it is now pulling the index.php file which is fine for layout purposes, but still has that out of whack look. I have gone over other pages to make sure all my closing tags are in the right place and they are, but still all messed up.

    #68972
    rjmccollam
    Participant

    Got it figured out. A class was applied to <body> automatically so I just had to enter some css and I was good to go. Thanks for your help.

    #68973
    AshtonSanders
    Participant

    I see.

    It looks like your <body> tag has the automatic WordPress classes applied to it. The body CSS works fine, but the other archive classes dont. Instead of being class specific, try removing the classes from the body element.

    I would also recommend Validating your HTML and CSS
    http://validator.w3.org/check?verbose=1 … %2Fblog%2F
    http://jigsaw.w3.org/css-validator/vali … %2Fblog%2F

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