White bar at the top of my website

Hello there,

On my website there’s a white bar at the top of my website that I can’t seem to remove. Could you please assist me in the matter.

Here’s a screenshot of the website and my link is Kalash.gallery

Hey @hussainkalash

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

The link is https://kalash.gallery

Hey @hussainkalash

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-4.gradient.header-wrapper--border-bottom {
    margin-top: -30px !important;
}
</style>

RESULT:

If you require any other help, feel free to reach out to me. If I managed to help you then a Like would be truly appreciated.

Best,
Moeed

image

There is a dot in the code. You need to delete it in the body section in theme.liquid. After that, everything will look great again.

  <body class="gradient{% if settings.animations_hover_elements != 'none' %} animate--hover-{{ settings.animations_hover_elements }}{% endif %} template-{{ template | handleize }}">

This is how it looks like from my end

This should be followed by a single dot. It does not have to be immediately after, but can also be a few lines later.

 </head>

  <body class="gradient{% if settings.animations_hover_elements != 'none' %} animate--hover-{{ settings.animations_hover_elements }}{% endif %} template-{{ template | handleize }}">
   
   <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TW2994NV"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    <a class="skip-to-content-link button visually-hidden" href="#MainContent">
      {{ 'accessibility.skip_to_text' | t }}
    </a>

    {%- if settings.cart_type == 'drawer' -%}
      {%- render 'cart-drawer' -%}
    {%- endif -%}

    {% sections 'header-group' %}

    <main id="MainContent" class="content-for-layout focus-none" role="main" tabindex="-1">
      {{ content_for_layout }}
    </main>

    {% sections 'footer-group' %}

    <ul hidden>
      <li id="a11y-refresh-page-message">{{ 'accessibility.refresh_page' | t }}</li>
      <li id="a11y-new-window-message">{{ 'accessibility.link_messages.new_window' | t }}</li>
    </ul>

There is no dot at all in the code

{% sections 'header-group' %}

Do you have anything in the editor there? Now it’s time to search—but there must be something in these layers.

It’s actually a bit higher.
Browser moves it out of the <head> and into the <body>
Need to check the “View source”, not only “Inspect elements”