Support » Themes and Templates » Sidebar being pushed to the bottom in Anniversary theme
4 years, 11 months 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!
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.
Here’s the code for my archives.php file. Thank you!
here is a version of archives.php, adapted to the html structure of page.php of your theme:
Ah! You’re wonderful! I’ll have to compare them to see what you did. 🙂 Thanks SO much.