All things Shopify and commerce
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?
^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!
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 Always
- 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.
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:
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
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>
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
If this was helpful, hit the like button and accept the solution.
Thanks
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!
Hello @aynoorstudios
Please follow the steps below after logging into the Shopify admin:
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
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025