loop_shop_columns is still used as the ‘default’, but if you have code setting the columns itself, loop_shop_columns is ignored.
Is this shortcode based lists of products, or shop page?
Testing locally, I get the same appearance on 2.5.5 as 2.6 also. Themes handle the columns styling – what are you using?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
@jvwekken, Please wrap all code in backticks when posting in these forums.
I have a similar issue.
Using [featured_products per_page="3" columns="3"]
The .first and .last classes are being assigned in the wrong order.
Local with v2.6
Remote with v2.5.5
I was going to post to Github, but wasn’t sure if this was a support issue.
That one I’m not seeing – shortcodes appear normal my end. http://glui.me/?i=eede2058exi5hqe/2016-06-14_at_19.05.png/ Ruled out plugins/theme? The CSS class functions were tweaked in 2.6 so a template override for example could be out of date in your case.
@mike, I will check with the team, but I don’t think we’ve done a template override on this project. Thanks
alwaysbrightblue could do a quick test on twenty twelve theme? Could there be a ‘hidden’ product inbetween those? Try a different orderby argument.
@mike, You are a wizard, sir. Had a code snippet hooked into content-product.php from 2.3 that was forcing some column counting. Removed that hook and we’re good.
Thanks!
I also have a problem with the column display – where/how do I fix it. I don’t do code.
Giving me snippets of information is not helping; post a new thread with your system status report and example URLs please.
I also have a problem on my site with the columns being incorrect after updating. The setting we have chosen was 4 columns, but now it is displaying 1 and then 2 alternating. The settings still show it as having 4. Can you tell me where the problem is?
vbptrin In fact, http://zigzagpress.com/portfolio/eshop-theme/ has not been updated since april so it’s unlikely to have been 2.6 tested by the author. See if another theme works – contact the author.
Just fixed this for a friend by hardcoding $woocommerce_loop[‘columns’] = apply_filters( ‘loop_shop_columns’, 4 ); and disabling if ( empty( $woocommerce_loop[‘columns’] )). Not the best way, but for sure a quick fix, while waiting for a theme update.
AndreNL what theme and code was present?