I want to remove extra padding of my marquee
URL hypestockexchange.in
A user seeks to reduce excessive padding on a marquee element on their Shopify store (hypestockexchange.in).
Solutions Provided:
Two community members offered CSS-based fixes:
Option 1: Add custom CSS in theme.liquid before the </body> tag, targeting .custom-marquee with height: 32px !important and a media query for screens with max-width 749px.
Option 2: Insert CSS code at the bottom of theme.scss (or theme.scss.liquid) file, setting .custom-marquee height to 30px !important.
Both solutions use the !important flag to override existing styles and reduce the marquee’s vertical space. Screenshots were included showing the implementation steps and expected results.
Hello @Emiway
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Hello @Emiway ![]()
In Shopify Admin, you can go to Edit theme code, open file theme.scss (or theme.scss.liquid) and add this code at the bottom
.custom-marquee {
height: 30px !important;
}
The result
Hope that helps!