Reduce Announcement Bar Height - Impulse Theme

SarahTinySteps
Excursionist
34 0 6

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

Replies 18 (18)

PageFly-Noah
Astronaut
866 173 194

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

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

PageFly-Noah
Astronaut
866 173 194

 @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.

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

SarahTinySteps
Excursionist
34 0 6

The base.css doesn't exist in my theme?

SarahTinySteps
Excursionist
34 0 6

Hi Noah, sure, it's www.tinystepskids.co.uk

PageFly-Noah
Astronaut
866 173 194

Hi @SarahTinySteps  Iam sorry i have check again, You can add code here in file theme.liquid and above tag </head>

<style>
.announcement-bar{
    padding: 0px !important;
    display: flex  !important;
    align-items: center !important;
}

</style>

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

SarahTinySteps
Excursionist
34 0 6

WOW, PageFly that just broke my header...... (see snippet). 

PageFly-Noah
Astronaut
866 173 194

hi @SarahTinySteps  , iam sorry about that, You can share me screen where add code here. I will check again help you.

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

SarahTinySteps
Excursionist
34 0 6

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. 

PageFly-Noah
Astronaut
866 173 194

Hi @SarahTinySteps  can you provide again image above that. I will help you again. Because i done see image you send.

Screen Shot 2024-04-04 at 08.51.24.png

Thank you so much.

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

SarahTinySteps
Excursionist
34 0 6

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. 

techlyser_web
Shopify Partner
1407 263 278

Hello @SarahTinySteps 
Can you share store URL? 

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
SarahTinySteps
Excursionist
34 0 6

Raj-webdesigner
Shopify Partner
236 52 53

Add This css In your 

1) Edit Code

2) Find Theme.css 

3) Put This code In last Of Theme.css File This Css

.announcement-bar {
     padding: 0 !important;
}


 

If you require further help to optimize your store, please don’t hesitate to reach out.

This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Your Willpower Contribution Link :-

Contribution



Contect On My Mail :-raj.s.webdevloper@gmail.com

Made4uo-Ribe
Shopify Partner
5437 1308 1610

Hi @SarahTinySteps 

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:

Made4uoRibe_0-1711990304848.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


SarahTinySteps
Excursionist
34 0 6

Thanks but that didn't work......see snippets...

Made4uo-Ribe
Shopify Partner
5437 1308 1610

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


SarahTinySteps
Excursionist
34 0 6

Anyone out there that knows how to do this that works? 

SarahTinySteps
Excursionist
34 0 6

Anyone? None of the solutions worked.