Announcement Bar Overlays Header

Solved

Announcement Bar Overlays Header

martujv
Trailblazer
234 2 46

Hey folks!

 

The announcement bar is in front of my header every time I scroll past it (both in mobile and desktop):

IMG_2060.jpg

 

How can I place the header in front of the announcement bar? 

 

My theme is Stiletto and my website is: https://vsa0oqnbhrloapy0-60150284501.shopifypreview.com

 

I would really appreciate some help

Accepted Solution (1)

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

- Here is the solution for you @martujv 
- 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>
.shopify-section.header__outer-wrapper {
    z-index: 999 !important;
}
</style>

- This is the result you will get:

BSSTekLabs_0-1735992822470.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

View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
7453 2018 2473

Hey @martujv 

 

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>
@media screen and (max-width: 767px) {
.shopify-section.header__outer-wrapper {
    z-index: 999999999 !important;
}
}
</style>

RESULT:

Moeed_0-1735989188163.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


Dan-From-Ryviu
Shopify Partner
11683 2289 2472

Hi @martujv 

You can solve it by adding this code to Custom CSS in Online Store > Themes > Customize > Theme settings 

#shopify-section-sections--24317362667859__header { z-index: 511 !important; }

 

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

BSS-TekLabs
Shopify Partner
2401 695 835

This is an accepted solution.

- Here is the solution for you @martujv 
- 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>
.shopify-section.header__outer-wrapper {
    z-index: 999 !important;
}
</style>

- This is the result you will get:

BSSTekLabs_0-1735992822470.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
martujv
Trailblazer
234 2 46

It worked! Thank you!