How to display 2 products per row on mobile only

Solved
Highlighted
Tourist
24 0 0

Hi there,

I'm using a theme I bought, so the existing instructions on the subject are not very easy for me to follow, as things are a bit different in my code.
So this is my store https://www.focallurecosmetics.gr/
I would like 2 products per row on mobile view only.

Any suggestions??

Thank you,

0 Likes
Highlighted

Hello @NatCosm,

As I checked your site ,On homepage there are 2 products in one row  in mobile...

Do you want 2 products per row in collection pages??

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
Tourist
24 0 0

Yes! I thought I had made this clear but I didn't! I want 2 products per row in collections!

Thank you 

0 Likes
Highlighted

Success.

Hello @NatCosm ,

1. Go to Online Store->Theme->Edit code
2. Asset->timber.scss->paste bellow code in bottom of file

@media only screen and (max-width: 480px) {
.template-collection #shopify-section-section-collection .grid__item.large--one-half.medium--one-half {
width: 50%;
}
}

Or Go to collection-template.liquid and add small--one-half class as shown in below screenshot

2019-12-10_14-18.jpg

Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
2 Likes
Highlighted
Tourist
24 0 0

Hi again!
I have a similar question!

I have added a bundle app that displays two more products under "add to cart" button, on every product page. On mobile view though, those two products seem to be aligned vertically and their "add to cart" buttons are hidden as they overlap.  Any suggestions on how to make them appear in the same row?

Thank you,

0 Likes
Highlighted

Hello @NatCosm ,

Please add below css

@media only screen and (max-width: 600px) {
.product-container .product-thumbnail {
    height: auto!important;
}
}
Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes