Hi All,
Could someone please help with a small request i have to reduce the height of the Announcement bar in the Impulse Theme please? It’s too fat and looks slightly odd but i can’t work out how or where to edit the code to reduce it.
Thanks
S
Hi All,
Could someone please help with a small request i have to reduce the height of the Announcement bar in the Impulse Theme please? It’s too fat and looks slightly odd but i can’t work out how or where to edit the code to reduce it.
Thanks
S
This is Noah from PageFly - Shopify Page Builder App
I can help you. Please can you provide the website url. Thank you.
Best regards,
Noah | PageFly
Hello @SarahTinySteps
Can you share store URL?
Add This css In your
Edit Code
Find Theme.css
Put This code In last Of Theme.css File This Css
.announcement-bar {
padding: 0 !important;
}
@SarahTinySteps You can add code here to base.css:
.announcement-bar{
padding: 0px !important;
display: flex !important;
align-items: center !important;
}
Hope my solution will help you resolve the issue.
Hi Noah, sure, it’s www.tinystepskids.co.uk
Sure, it’s www.tinystepskids.co.uk
The base.css doesn’t exist in my theme?
Check this one.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.announcement-bar {
padding: 3px 0;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks but that didn’t work…see snippets…
Try to add !important like this.
.announcement-bar {
padding: 3px 0 !important;
}
And Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @SarahTinySteps Iam sorry i have check again, You can add code here in file theme.liquid and above tag
WOW, PageFly that just broke my header… (see snippet).
Anyone out there that knows how to do this that works?
hi @SarahTinySteps , iam sorry about that, You can share me screen where add code here. I will check again help you.
Hi Noah, I used your code above the header and attached a screen shot. It made the bar larger not smaller and the text was no longer present in it.
Hi @SarahTinySteps can you provide again image above that. I will help you again. Because i done see image you send.
Thank you so much.
Hi Noah, I didn’t save the snippet but I attached it to my last response.
The code worked, but it made the announcement bar twice the hight and the text within it no longer appeared.
Anyone? None of the solutions worked.