- This topic has 7 replies, 3 voices, and was last updated 6 years, 6 months ago by
Tom.
-
AuthorPosts
-
May 20, 2017 at 5:05 pm #321447
David
StaffCustomer SupportHi Tom,
I am experiencing some issues with the mobile product columns function when using elementor woo products widget. It looks to me as the rescaling affects the widget section and not the product so although it respects the number of columns you end up with significantly reduced sizes of the products. See images below
Mobile columns using CSS
Mobile columns using customiser
I am using the CSS code as a workaround so no big problem but maybe something you may want to test on your side.
David
May 20, 2017 at 10:20 pm #321491Leo
StaffCustomer SupportHi David,
Are you able to provide a link to your site so we can have a look and make sure it’s not an Elementor problem?
Thanks!
May 21, 2017 at 4:22 am #321607David
StaffCustomer SupportHi Leo,
ill send link by email.
May 21, 2017 at 10:23 am #321723Tom
Lead DeveloperLead DeveloperThe plugin you’re using is setting the class to allow for 6 columns, but doesn’t have any mobile CSS.
You’ll need to do this:
@media (max-width: 768px) { .woocommerce .wc-columns-6 ul.products li.product, .woocommerce-page .wc-columns-6 ul.products li.product, .woocommerce-page.columns-6 ul.products li.product, .woocommerce.columns-6 ul.products li.product { width: 48%; margin-left: 2%; } }
May 21, 2017 at 11:23 am #321752David
StaffCustomer SupportHi Tom, thanks for the feedback much appreciated.
I will test out the above, but currently the 2 product column CSS (you kindly provided way back) does work o.k for any number of columns. And it overrides the customiser. So all good there and no fix necessary – although i was quite excited to get rid of another CSS snippet in favour of using your supported plugin.
Just wanted to point out that the GP Woo add-on definitely creates a problem for the Elementor Woo Products Widget – without the CSS added so solely relying on customiser it doesn’t matter what number i set the mobile product columns to i get the exact same result as above (even if it is 1) – whereas if i switch off the GP Woo add-on then it works fine displaying the default single column. Presumably the customiser is doing something different to the way the CSS works(?)
I cant say whether this is an isolated instance and if it is a definite conflict but it looks to be the case. Might be worth you checking it out to see if GP woo and Elementor woo aren’t working correctly together. Maybe an off button on the customiser mobile product columns would be a small fix.
kind regards
David
May 22, 2017 at 12:36 am #322022Tom
Lead DeveloperLead DeveloperThe GP options work by adding a columns class to the product wrapper in WooCommerce. The issue here is the Elementor plugin is adding their own wrapper, which GP unfortunately doesn’t have access to/knows exists. You would have to use the built in options in the Elementor plugin to control the columns.
May 22, 2017 at 3:33 pm #322496David
StaffCustomer SupportHi Tom
thanks again – i learn something new every time we converse.
I’ll continue to use the 2 column CSS (which i am still yet to learn why this overrides the customiser) as this works for me.We can call this one resolved.
regards
David
May 22, 2017 at 8:26 pm #322619Tom
Lead DeveloperLead DeveloperNo problem! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.