How to delete the banner/bar on top of our online store?

How to delete the banner/bar on top of our online store?

KarlosPena
Tourist
5 0 3

We are trying to delete the yellow covid announcement banner/bar on top of the header. We cant seem to see any option on the settings. Thank youEquip Fitness.jpg

Replies 3 (3)

namphan
Shopify Partner
2155 286 323

Hi @KarlosPena,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

#header .row.mob-header>div:first-child {
    display: none;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

DaisyVo
Shopify Partner
2372 297 340

Hi @KarlosPena 

 

Please follow up the case from this post: https://community.shopify.com/c/shopify-design/covid-banner-announcement-on-top-of-the-page/td-p/290... 

 

I have already shared the detail guide for you ❤️ 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

BSS-TekLabs
Shopify Partner
2401 695 827

- Here is the solution for you @KarlosPena 
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it

<style>
.row.mob-header > div:first-child {
    display: none !important;
}
</style>

- This is the result you will get:

BSSTekLabs_0-1736176972028.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now