Remove part of shadow and thicker line in header mobile version

Hi, i want to remove a part of the shadow and make the line a little bit thicker as described in this picture:

Maybe you can help me with this.

url: https://ba571d-cc.myshopify.com/

dawn theme 15.0.0

Thank you.

1 Like

Hi @store095 , Did you add this code from someone to your theme.liquid file

Please change it like this

@media screen and (max-width: 750px) {
    .header.header--top-left.header--mobile-left.page-width.header--has-menu.header--has-social.header--has-account {
       box-shadow: none !important;
    }
}
1 Like

Hi @store095 ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Thanks for your help but the code will remove the whole shadow.

Best regards

1 Like

Hi @store095 , Pls try again with this code:


Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Thank you its working.

Is it possible to do it only on mobile version? I only want this at the mobile version not desktop.

Best regards

1 Like

Hi @store095 ,
Looks like you are missing a piece of code above mine:
@media only screen and (max-width: 750px) {}

1 Like

Now its working. Thank you! :slightly_smiling_face:

1 Like

@store095 , Glad to help you :heart_eyes: