Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Mobile view on Vendor store page: change number of products per column
Tagged: column, columns, mobile, responsive
- This topic has 3 replies, 2 voices, and was last updated 4 years, 6 months ago by Sarmistha Chakraborty.
- AuthorPosts
- May 18, 2020 at 6:42 pm #132644CAMParticipant
I use Astra Pro theme and have set Woocommerce products on mobile device to be 2 per column.
Customize > Woocommerce > Product Catalogue > Shop Columns: 2 (mobile & tablet)
On the ‘Shop’ page everything looks good on mobile – products are in 2 columns and spacing etc is good.
However…
On the ‘Vendor Store’ page, it looks bad; products are in 3 columns and spacing is bad.
Are there different settings somewhere for ‘Vendor Store’ layout?
Attachments:
You must be logged in to view attached files. - May 19, 2020 at 12:30 pm #132945Sarmistha ChakrabortyMember
Hello,
By-default Vendor store page layout and shop page layout both these are part of theme configuration!
Ref: https://wclovers.com/forums/topic/edit-the-layout-of-vendor-store/
There are no different settings in our WCFM plugin for vendor store page mobile version.
You can provide us the two page URLs. Then we can check the issue.Thanks.
- May 19, 2020 at 12:39 pm #132955CAMParticipantThis reply has been marked as private.
- May 19, 2020 at 7:21 pm #133148Sarmistha ChakrabortyMember
Hello,
For ‘Vendor Store’ page
Try this code in your theme’s functions.php,
add_filter('wcfm_store_wrapper_class',function($custom_cls){ $custom_cls = 'woocommerce tablet-columns-2 mobile-columns-2'; return $custom_cls; });
Let me know how it goes.
Thanks!
- AuthorPosts
- You must be logged in to reply to this topic.