Make the announcment bar visible

wh31_wh1222
Tourist
9 0 1

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
3878 981 1225

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 developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

Made4uo-Ribe
Shopify Partner
6392 1534 1904

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.

PageFly-Theodor
Shopify Partner
646 79 95

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.