Evening All,
By anychance, does anyone know how i can remove the Padding (Highlighted Green) from my Homepage, but on Mobile View only?
Thank you in advance!
A user seeks to remove padding from their homepage sections specifically on mobile view. The green-highlighted padding appears in an attached screenshot.
Initial Solution Attempt:
theme.css file targeting .image-hero with padding: 0 !important within a @media(max-width: 767px) queryUpdated Solution:
After reviewing the store URL (trunksoflondon.com), a more specific CSS selector was provided:
#shopify-section-template--14570280234__165484440487430b.image-hero instead@media(max-width: 719px) querytheme.css file via Themes → Edit code → AssetsThe discussion remains open pending confirmation of whether the updated CSS solution works.
Evening All,
By anychance, does anyone know how i can remove the Padding (Highlighted Green) from my Homepage, but on Mobile View only?
Thank you in advance!
hi @TOL1
You can try follow this path:
Themes => edit code => asset => theme.css
and add this code to bottom of the file theme.css
@media(max-width: 767px){
.image-hero {
padding: 0!Important;
}
}
Hi ExpertRookie,
Thank you for the suggestion, unfortunately it didn’t work though ![]()
Hi @TOL1
Can you share your store url?
trunksoflondon.com, the store password is abc123. Thanks again!
Hi @TOL1
You can try follow this path:
Themes => edit code => asset => theme.css
and add this code to bottom of the file theme.css
@media(max-width: 719px){
#shopify-section-template--16017275420834__16558445044f80743b .image-hero {
padding: 0!Important;
}
}