Site logo

Archived topic

Product Catalog in Woo Shop Displaying 3 columns

1 reply · Started by escueladireccion on July 31, 2021

Viewing posts 1–2 of 2

Hi,

I am almost finishing the configuration of Generate Press. It is incredible. I have two main issues. The first of them is that I set up the shop to show 3 columns on the desktop, 2 on the tablet, and 1 on mobile. The problem is that for mobile 3 columns are displaying when it should appear only one. The configuration of the theme is correct, the preview is ok, but when I have tried it from several devices (android, iOS) I continue seeing 3 columns. I have not other custom CSS or javascript.

How do you think I could solve this?
Many thanks in advance.

Hi there,

this generally happens when a caching plugin is in place.
To try and stop that from happening, add this PHP Snippet to your site:

add_action( 'after_setup_theme', function() {
    remove_action( 'wp_head', 'generate_add_viewport' ); 
    add_action( 'wp_head', 'generate_add_viewport', 1 ); 
} );

How to Add PHP: https://docs.generatepress.com/article/adding-php/

Make sure to clear any caches after adding that.

This archived topic is closed to new replies.