Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Reduce Announcement Bar Height - Impulse Theme

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
Shopify Partner
1317 233 277

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
Shopify Partner
1317 233 277

 @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
Shopify Partner
1317 233 277

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
Shopify Partner
1317 233 277

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
Shopify Partner
1317 233 277

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. 

niraj_patel
Shopify Partner
2378 514 507

Hello @SarahTinySteps 
Can you share store URL? 

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
349 87 82

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;
}


 

Are you looking for Shopify Developer then your search is over I will help you


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

:-

❤️Tip❤️

Contect On My Mail :-Mail@gmail.com


Made4uo-Ribe
Shopify Partner
9094 2173 2683

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
SarahTinySteps
Excursionist
34 0 6

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

Made4uo-Ribe
Shopify Partner
9094 2173 2683

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

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.