WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. waxpop
    Member
    Posted 1 year 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. alchymyth
    The Sweeper & Moderator
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

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

    http://pastebin.com/jd59SFgV

  5. waxpop
    Member
    Posted 1 year 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