Annoying Product Columns

May 2014 WordPress Theme
GK User
Thu Sep 29, 2016 7:44 pm
ever since we bought this design for wordpress/woocommerce we have had nothing but issues with alignment, it appears a glitch of some kind is only affecting certain product pages causing the products to skip a line and ruin the look of the page.

When i fist started editing the template to try and fix it i found editing the StoreFront/gavern/wc-functions.php file did the trick half the way but i had to add double the amount of products for it to order correctly like so (which i know is weird right?) :

Code: Select all
// Display 9 products per page.
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 9;' ), 20 );
// Change number or products per row to 6
add_filter('loop_shop_columns', 'loop_columns');
if (!function_exists('loop_columns')) {
function loop_columns() {
return 6; // 6 products per row

But now this issue has re-appeared on a few pages for example: ... guns-bows/ ... cessories/ ... cs/scopes/ ... s-luggage/ ... ips-cases/

No matter what i do it manages to break something else on other pages, i need this fixing as it is annoying for one and two it makes the page look rubbish.

Some support on this would be great thanks.
User avatar
Senior Boarder

Joshua M
Fri Sep 30, 2016 7:30 am

Are you using the latest version of the StoreFront? This issue was already fixed in the latest version.
User avatar

Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.