We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Transparent bar between the announcement bar and the header.

Solved

Transparent bar between the announcement bar and the header.

SHBQA
Tourist
9 0 2

SHBQA_0-1719334657241.png

As seen there is a transparent bar between the announcement bar and the header of my site. I tried to remove it using multiple ways i have found on the forum, but nothing works.

 

Website: shbqa.com

Password: 1

Theme: Dawn

 

Accepted Solution (1)

Moeed
Shopify Partner
7764 2082 2568

This is an accepted solution.

Hey @SHBQA 

 

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>
sticky-header.header-wrapper.color-scheme-1.gradient.header-wrapper--border-bottom {
    bottom: 10px !important;
}
</style>

RESULT:

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


View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
7764 2082 2568

This is an accepted solution.

Hey @SHBQA 

 

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>
sticky-header.header-wrapper.color-scheme-1.gradient.header-wrapper--border-bottom {
    bottom: 10px !important;
}
</style>

RESULT:

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


SHBQA
Tourist
9 0 2

Thank you so much that worked perfectly.

Moeed
Shopify Partner
7764 2082 2568

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Made4uo-Ribe
Shopify Partner
10211 2427 3080

Hi @SHBQA 

Check this one.

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag.

 

{% if template == 'index' %}
<style>
.header {
    margin-top: -10px;
}
</style>
{% endif %}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1719335925921.png

     

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.