- This topic has 11 replies, 3 voices, and was last updated 4 years ago by
Tom.
-
AuthorPosts
-
March 8, 2019 at 7:02 am #832919
Pedro
Hello! I have configured GP Premium to show 2 columns of products for the mobile version.
However, for some strange reason, products are sometimes shown in 1 column. That happens with small screen phones (iPhone 6S – 4.7″)
Since I have tried on larger screen devices and this does not happen.
I send you a screenshot to better explain what I say:
https://www.dropbox.com/s/2ob3rtevsc38v0g/IMG_2229.PNG?dl=0
How can I solve that?
GeneratePress 2.2.2GP Premium 1.7.8March 8, 2019 at 9:54 am #833136Leo
StaffCustomer SupportHi there,
Is this happening on all pages?
I just view a few (also have an iPhone 6s) and all of them show 2 columns on mobile.
Also couldn’t get it to happen using browser resize.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 8, 2019 at 9:58 am #833141Pedro
Hi leo! Thanks for answering.
It does not happen on all pages, only on some pages.
March 8, 2019 at 10:03 am #833148Leo
StaffCustomer SupportCan you specify which pages so I know what to look at?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 8, 2019 at 11:24 am #833217Pedro
Hi leo! Of course.
One of the pages on which this happens is:
https://www.celuganga.co/producto/funda-antigolpes-ultra-resistente-para-iphone/
It is shown with the upsells / related products.
March 8, 2019 at 11:44 am #833227Leo
StaffCustomer SupportCan you try disabling the caching plugin?
And please always do so when we are trying to debug ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 8, 2019 at 11:49 am #833230Pedro
Hi leo!
I have already disabled WP Rocket. Sorry!
March 8, 2019 at 12:40 pm #833260Pedro
Hi leo!
Could you check the problem? I’m careful
March 8, 2019 at 1:06 pm #833268Pedro
Hi leo!
Because I did not receive a response from you, I had to enable the cache plugin again.
When you are available to help me, please let me know.
March 8, 2019 at 1:38 pm #833294Tom
Lead DeveloperLead DeveloperStrange, looks like a possible bug.
Does this CSS fix it?:
@media (max-width: 768px) { .woocommerce-page .related ul.products li.product:nth-child(3n), .woocommerce-page .up-sells ul.products li.product:nth-child(3n) { clear: left !important; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 8, 2019 at 1:42 pm #833297Pedro
Hello Tom!
You are a magician! That code solved it 100% Thanks!
March 8, 2019 at 1:45 pm #833298Tom
Lead DeveloperLead DeveloperYou’re welcome. This will be fixed in GPP 1.8 as we’re switching the columns to CSS Grid ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.