Announcement bar covering header!!!

Announcement bar covering header!!!

aynoorstudios
Visitor
1 0 2

Hi please help! The theme I bought via an IG page, the announcement bar looks terrible! It covers half the header. How do I fix this?

 

https://aynoorstudios.com/

^current

 

<style>
@media (max-width:767px) {
.header {
padding-top: 70px!important;
}
</style>

 

^ I pasted this above </body> tag and it did nothing. (idk if I am even doing that right, I just paste it and hit save. Not sure if there is further steps...)

 

Explain like I am five! Thank you!

Replies 6 (6)

Dan-From-Ryviu
Shopify Partner
11708 2294 2476

Hi @aynoorstudios,

Please remove the code you added to make your header sticky, then go to your store admin > Sales channels > Online store > Themes > Customize > Header, drag and drop the Header block below the Announcement bar, and change the Sticky header of the Header to AlwaysScreenshot 2025-04-25 at 08.41.55.png 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Amazon Products Importer - Import Amazon Products to Dropship in Your Store!
- 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.

Moeed
Shopify Partner
7505 2028 2492

Hey @aynoorstudios 

 

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>
.nav-sec.home-nav-d {
    padding-top: 55px !important;
}
</style>

RESULT:

Moeed_0-1745547012905.png

 

If I managed to solve your problem 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


BiDeal-Discount
Shopify Partner
500 58 115

Hi @aynoorstudios 

Your custom code CSS will not working, Let try to add this code above your body tag and let me know the result:

<style>
.nav-sec.home-nav-d:not(.active){
  top: 44px;
}
</style>

 

BiDealDiscount_0-1745565137118.png

 

- Helpful? Like & Accept solution!
- BiDeal Bundle Volume Discounts: Upsell with bundles, quantity breaks, volume discounts. AOV+ with gifts, shipping & progressive cart
- Bify app: Shopify automatic discount solutions
- Contact me? support@bify.app or WhatsApp: +84974709330

GTLOfficial
Shopify Partner
852 176 191

Hello @aynoorstudios 
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> style.css
add this code at the end of the file and save.

.nav-sec.home-nav-d {
top: 3rem !important;
}

result
2 .png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

topnewyork
Astronaut
1368 165 224

Hi @aynoorstudios 
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

<style>
  section.hero-sec {
    margin-top: 6rem !important;
}
.nav-logo {
    margin-top: 3rem !important;
}
.nav-listing {
    margin-top: 3rem !important;
}
</style>

 If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

WebDeskSolution
Shopify Partner
231 52 61

Hello @aynoorstudios 

 

Please follow the steps below after logging into the Shopify admin:

 

  • Go to your Shopify Admin panel.
  • Click on Online Store > Themes.

 

 

  • Find the live theme and then click Actions > Edit code.
  • Search style.css
  • Insert the provided CSS code at the end of the file and save the changes.

 

nav.nav-sec
{
    top: 44px;
}
nav.nav-sec.active
{
    top: 0;
}

Please hit Like and Mark it as a Solution if you find our reply helpful.

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Shopify Partner | Shopify Development Agency | Call: 877.536.3789


Canada: 150 King St W. STE 200, Toronto, ON M5H 1J9

 | USA: 98 Cutter Mill Rd. STE 466, Great Neck, NY 11021