Change section height on mobile view only

MiltonM
New Member
8 0 0

Hello!

I am trying to get  rid of a space on my product page (only for mobile view) - 

There is a gap from the box to the 'Lean Portion Size' section. How do I code to make that smaller. 

Thank you.

Screen Shot 2021-02-09 at 1.41.49 pm.png

0 Likes
Pallavi
Shopify Expert
673 82 86

Hello There,

Please share your store URL.
So that I will check and let you know the exact solution here.

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
0 Likes
MiltonM
New Member
8 0 0

I have msged you

 

0 Likes
Pallavi
Shopify Expert
673 82 86

Hello There,

1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.

@_media screen and (max-width:746px)
{

.product__description.rte {

margin-top: auto!important;

}

}

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
0 Likes
MiltonM
New Member
8 0 0

Hello, 

I copied and paste the code and it didn't work. Everything on my page disappeared.

0 Likes