Announcement Bar Overlays Header

Solved

Announcement Bar Overlays Header

martujv
Trailblazer
205 2 43

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 828

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
6591 1784 2166

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
10791 2134 2253

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

 

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

BSS-TekLabs
Shopify Partner
2401 695 828

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
205 2 43

It worked! Thank you!