- This topic has 9 replies, 2 voices, and was last updated 3 years, 10 months ago by
Tom.
-
AuthorPosts
-
April 10, 2019 at 4:58 am #864846
Sandro
Hi, I’m trying to set the columns from the shop page, under 778 pixels there is only one column while I would like 2, under 480 pixels 1 column. I’m trying to modify the css but the css in your woocommerce folder always has the precency.
I put the link of the hidden site but you have to be logged in to see it, at the moment I can’t publish it.
I ask for your help. thank youGP Premium 1.7.8April 10, 2019 at 4:29 pm #865514Tom
Lead DeveloperLead DeveloperHi there,
We changed the way columns work in WooCommerce in our GPP 1.8 update, which is currently available for testing: https://generatepress.com/gp-premium-1-8/
Then you can:
1. Set your mobile columns in the GPP settings to 2.
2. Add this CSS:
@media (max-width: 480px) { .woocommerce #wc-column-container.wc-mobile-columns-2 .products, .wc-related-upsell-mobile-columns-2 .related ul.products, .wc-related-upsell-mobile-columns-2 .up-sells ul.products { -ms-grid-columns: 1fr 1fr; grid-template-columns: 1fr 1fr; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 11, 2019 at 1:10 am #865763Sandro
Hello, thanks for the support.
The problem unfortunately remains, under 780 pixels there is only one column at full width, I would like instead that between 770 and 480 the columns are 2.
How do you set it up?April 11, 2019 at 8:30 am #866304Tom
Lead DeveloperLead DeveloperDid you set the mobile columns to 2 in Customize > Layout > WooCommerce?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 11, 2019 at 9:29 am #866379Sandro
Yes, i did. on mobile is always one column.
I have tried to delete my CSS but is the same result.
Do you want my admin access?April 11, 2019 at 3:27 pm #866612Tom
Lead DeveloperLead DeveloperI shouldn’t need admin access, but access to the site (there’s a coming soon page up) would be good. Any chance you can send that to us?: https://generatepress.com/contact
Be sure to mention this topic ๐
Thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 8, 2019 at 6:57 am #892909Sandro
Hi, I write about the report made in the last few days.
I have set up two columns of products for the mobile version, but in reality the column is always unique.
Actually I would like for the mobile version to have a column while for the tablet version (up to 767px) the columns would like two.
From panel this thing is not possible, I tried from CSS but there is always the CSS of Woocommmerce of the theme that has precedence.
I look forward to your help, thanksMay 8, 2019 at 1:53 pm #893393Tom
Lead DeveloperLead DeveloperHi there,
So anything under 767px would be 1 column? I should be able to help with this if I can see your site.
Let me know ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 9, 2019 at 8:15 am #894271Sandro
I have found the solution.
The only problem is that I have to give a minimum height to the text otherwise the products do not train properly.
For example in a row, without the minimum text height, some products would be on their own, their next product would be in the line below.
Practically some lines are from two products other than one.May 9, 2019 at 1:56 pm #894608Tom
Lead DeveloperLead DeveloperCan you show me an example of the issue?
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.