Solved

Space in header getting increased - Dawn Theme

thingsontheway
Tourist
37 0 3

I am trying to increase size of logo in the header using Theme Settings in shopify customizer. But the space between header's both section is getting increased. Attaching screenshot.

 

thingsontheway_0-1717236441653.png

 

The code for this header in theme.liquid is as below.

 

<head>
    <style>
      @media only screen and (min-width: 990px) {
        .header__inline-menu {
          grid-row: 2 !important;
          grid-column: 1/4 !important;
        }

        .header__heading {
          grid-column: 1 !important;
          grid-row: 1 !important;
          width: 100% !important;
          display: flex !important;
        }

        header.header {
            grid-template-columns: 1fr 1fr 1fr !important;
        }

        .desktop-search {
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
        }

        .header__inline-menu {
            border-top: 1px solid black;
            padding-top: 1rem;
        }
      }
    </style>

How can I handle this unnecessary space? And could you please let me know the reason of this problem?

 

Right now the header and announcement bar itself are taking more than half of the screen.

 

thingsontheway_0-1717237231508.png

 

 

 

Website: hamperpick.in

 

Appreciate your help. 

 

 

Accepted Solution (1)
TerenceKEANE
Shopify Partner
511 86 78

This is an accepted solution.

You are welcome.

 

As you can see below, the image appears very small within the normal structure. My advice is to make the logo fill the entire dimension. A resolution of 110x110 is good. If you still can't manage it, let me know!

 

 

TerenceKEANE_0-1717318257613.png

 

★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore Novajetsoft.com for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> info@novajetsoft.com | Software Engineer - Specializing In Advanced E-Commerce Websites

View solution in original post

Replies 7 (7)

PageFly-Amelia
Shopify Partner
452 144 206

Hello @thingsontheway 

This is Amelia at PageFly - Shopify Advanced Page Builder app.

 

The measured distance is because your image logo is too large. You can change the logo image to fix the problem. If you use code, the logo will be broken.

 

Hoping my solution helps you solve your problem.

Best regards,

Amelia | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.


Optimize your store’s mobile shopping experience with the Blum theme.

thingsontheway
Tourist
37 0 3

Thank you @PageFly-Amelia for the response. 

I am using 250x250 px logo. Can you recommend an optimal logo size for the header. I don't want that much of spacing in the header.

TerenceKEANE
Shopify Partner
511 86 78

Hi,

 

It can be done. When the logo size increases, it's normal for the relevant area to expand automatically.

 

What I don't understand is if the current logo size is good for you. If it is, I can remove the extra space. Also, what is the password?

 

Terence.

★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore Novajetsoft.com for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> info@novajetsoft.com | Software Engineer - Specializing In Advanced E-Commerce Websites
thingsontheway
Tourist
37 0 3

Thank you @TerenceKEANE . Password is dazzle. I am not sure what the issue is. Upon increasing the width on desktop version the size is increasing by a lot. Now that I have reduced the width to the minimal, the logo is not looking properly on desktop. It is quite small.  

TerenceKEANE
Shopify Partner
511 86 78

This is an accepted solution.

You are welcome.

 

As you can see below, the image appears very small within the normal structure. My advice is to make the logo fill the entire dimension. A resolution of 110x110 is good. If you still can't manage it, let me know!

 

 

TerenceKEANE_0-1717318257613.png

 

★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore Novajetsoft.com for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> info@novajetsoft.com | Software Engineer - Specializing In Advanced E-Commerce Websites
thingsontheway
Tourist
37 0 3

Thank you @TerenceKEANE for pointing me to a right direction. I got what I wanted. 🙂 

TerenceKEANE
Shopify Partner
511 86 78

You are welcome

 

If you need anything else, just let me know. 🙂

★ Looking for Dedicated Premium Coding Support? Join our unique "PREMIUM SUPPORT" service starting at 59 USD for 1 MONTH!
★ Get skilled Shopify developers at BUDGET-FRIENDLY RATES — explore Novajetsoft.com for a rapid quote!
If my support was a lifeline for you, The COFFEE  
would be the anchor keeping me steady!
★ For Quick response --> WhatsApp | Email --> info@novajetsoft.com | Software Engineer - Specializing In Advanced E-Commerce Websites