How to decrease mobile text padding on Shopify?

Hello, Shopify Community it’s me, again. I just need to decrease the padding above and below the text but only on mobile.

https://thediydesigners.com/

1 Like

Hi, @diydesigners

@media only screen and (max-width: 729px){
#shopify-section-lh-section-hiojz9j1cgk .lh-title{
	margin: 0;
}
#shopify-section-1623487814a2da2155 .cont{
	    padding: 0px 0 20px !important;
}
#shopify-section-1623487814a2da2155 .cont div >h1{
	   margin: 0;
}
}

,
Please give me your site access so i can resolve your problem. and add this code.
Thank You!

hello @diydesigners

please Go to Online Store->Theme->Edit code then go to assets/styles.css ->paste below code at the bottom of the file.

@media only screen and (max-width: 729px){
#shopify-section-lh-section-hiojz9j1cgk .lh-title{
	margin: 0;
}
#shopify-section-1623487814a2da2155 .cont{
	    padding: 0px 0 20px !important;
}
#shopify-section-1623487814a2da2155 .cont div >h1{
	   margin: 0;
}
}
1 Like