Can someone help me add some padding to the grey announcement bar? I want more padding on the top and bottom.
Here is the store url: https://nattlig.no/
Thanks!
Can someone help me add some padding to the grey announcement bar? I want more padding on the top and bottom.
Here is the store url: https://nattlig.no/
Thanks!
@Nattlig , Hello! Please follow these steps to add this CSS code:
Search this “.annoucement-bar-top” class and add padding to that or add new CSS.
.annoucement-bar-top {
padding: 10px 0px;
display: flex;
flex-wrap: nowrap;
justify-content: space-around;
}
/* OR */
slideshow-component.announcement-bar {
padding: 10px 0px;
}
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.
Add the following CSS to your theme. You can change the top and bottom to any px font you’d like, I put 10px but change them to 5px or 20px based on your preference.
.announcement-bar{
padding-top:10px!important;
padding-bottom:10px!important;
}
Hello @Nattlig
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
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hi @Nattlig
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
Hope this can help you solve the issue
Best regards,
Richard | PageFly