Sidebar being pushed to the bottom in Anniversary theme (5 posts)

  1. waxpop
    Posted 4 years ago #

    Hi, I'm running the WordPress Anniversary theme, which didn't come with an Archive page. I've created one using some code from the Codex, but now my sidebar gets pushed to the bottom of the main column.

    I've searched through other threads like this one and made changes to the theme and my CSS but nothing seems to work.

    Current Archives page
    My styles.css file
    My sidebar.php file
    My page.php file

    I'm not great with php, so any help would be appreciated!

  2. Michael
    Forum Moderator
    Posted 4 years ago #

    what is the code of the archives.php template?

    the archives page seems to have a total differnt html structure from the other 'normal' static pages of your theme.

    possibly, you would start with a copy of page.php of your theme, and then make the edits with that to create a page template.

  3. waxpop
    Posted 4 years ago #

    Here's the code for my archives.php file. Thank you!

  4. Michael
    Forum Moderator
    Posted 4 years ago #

    here is a version of archives.php, adapted to the html structure of page.php of your theme:


  5. waxpop
    Posted 4 years ago #

    Ah! You're wonderful! I'll have to compare them to see what you did. :) Thanks SO much.

Topic Closed

This topic has been closed to new replies.

About this Topic