Make the announcment bar visible

Make the announcment bar visible

wh31_wh1222
Excursionist
28 0 4

Hello guys, how do I make the announcement bar visible on the home page?
Thanks,

Wassimheader 2.pngheader.png

Replies 3 (3)

Moeed
Shopify Partner
7155 1936 2359

Hey @wh31_wh1222 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.

<style>
.shopify-section-group-header-group.announcement-bar-section {
    height: 40px !important;
}
</style>

RESULT:

Moeed_0-1716233956340.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Made4uo-Ribe
Shopify Partner
10048 2390 3017

Hi @wh31_wh1222 

If you like to visible your announcement bar you can easily hide in the customize theme. 

Made4uoRibe_0-1716237458586.png

Just close the eye icon

Made4uoRibe_1-1716237498522.png

But if you dont this feature you can check the code. 

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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

{% if template == 'index' %}
<style>
.shopify-section-group-header-group.announcement-bar-section {
    display: none;
}
</style>
{% endif %}

 

And Save. 

Result:

Made4uoRibe_2-1716237845431.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.

PageFly-Theodor
Shopify Partner
691 86 105

Hi @wh31_wh1222 


This is Theodore from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> 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 </head>

<style>
.shopify-section-group-header-group.announcement-bar-section {
    height: 60px !important;
    width: 100%;
}
</style>

Hope this can help you solve the issue

 

Best regards,

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