Sidebar-Content CSS for Category Archive Template
-
I’m using WordPress 4.1.1, Genesis 2.1.2, and the Magazine Pro Child Theme. The site url is https://vcs.samjolley.com/?cat=31
I included the_loop_wp_tiles(); in a custom archive.php template so I could display the post archives as a grid.
I’m having trouble with the outputted tiles. At 1280px everything seems to work fine, but any larger or smaller there’s a “load more” button to the right of the tiles instead of on the bottom.
Here’s the code for the archive.php template:
<?php /* Template Name: Archives */ get_header(); ?> <div id="sidebar" <aside class="sidebar sidebar-primary widget-area"> <?php dynamic_sidebar('sidebar'); ?> </aside> </div> <div id="container"> <div id="content" role="main"> <?php the_loop_wp_tiles(); ?> </div><!-- #content --> </div><!-- #container --> <?php get_footer(); ?>
Here’s the css I added for the tiles so far:
/* WP Tiles */ .wp-tiles-container { width: 70% !important; background: none; float: left; padding-left: 30px; }
Is there anything I missed in the template, or some custom css I could use?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Sidebar-Content CSS for Category Archive Template’ is closed to new replies.