Re: Shadow under line in Header mobile version

Solved

Shadow under line in Header mobile version

store095
Explorer
95 0 43

IMG_1120.jpeg

Hi, i want this shadow under the line in the Header but only in the mobile version:

 

IMG_1119.jpeg

I hope you can help me.

 

thank you 

 

 

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2303 847 1061

This is an accepted solution.

You can change the value of box-shadow like this:

 

<style>
@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: 0 -3px 31px #5e5e5e!important;
        }
}
</style>

Is that better?

BSSCommerceHDL_1-1723824131802.png

 

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 8 (8)

BSSCommerce-B2B
Shopify Partner
1723 513 577

Hi @store095 ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1723815852607.png

 

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

 

.header-wrapper--border-bottom {
    border-bottom: 0 !important;
    box-shadow: 0 5px 10px gray !important;
}

 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_0-1723816283345.png

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

BSS-TekLabs
Shopify Partner
2350 701 826

- Here is the solution for you @store095 
- Please follow these steps: 

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media only screen and (max-width: 600px) {
.header-wrapper--border-bottom {
    box-shadow: 0 5px 14px -2px darkgray !important;
}
}

- Here is the result you will achieve:

BSSTekLabs_0-1723816067129.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

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


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Moeed
Shopify Partner
5409 1461 1749

Hey @store095 

 

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>
@media screen and (min-width: 768px) {
.header-wrapper--border-bottom {
    border-bottom: unset !important;
}
}
</style>

RESULT:

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

- Custom Design | Advanced Coding | Store Modifications


niraj_patel
Shopify Partner
2378 514 511

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px){
  .header-wrapper--border-bottom::after {
      border-bottom: .3rem solid rgba(var(--color-foreground), .08) !important;
      content: '';
      position: absolute;
      bottom: -3px;
      left: 0;
      right: 0;
     height: 5px;
     background: rgb(0 0 0 / 19%);
     box-shadow: 0 4px 10px rgb(0 0 0 / 19%);
     z-index: -1;
   }
}
</style>

niraj_patel_0-1723816238159.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- [email protected]

BSSCommerce-HDL
Shopify Partner
2303 847 1061

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 </head> tag:

 

<style>
@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: 0 2px 14px #9e9e9e!important;
        }
}
</style>

 

Here is result for only mobile:

BSSCommerceHDL_0-1723816768791.png

 

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 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

store095
Explorer
95 0 43

Its working. Thank you.

 

Is it possible to make it look more like this?: 

image_123650291 (3).JPG

 

image_123650291 (1).JPG

 

Best regards

 

 

BSSCommerce-HDL
Shopify Partner
2303 847 1061

This is an accepted solution.

You can change the value of box-shadow like this:

 

<style>
@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: 0 -3px 31px #5e5e5e!important;
        }
}
</style>

Is that better?

BSSCommerceHDL_1-1723824131802.png

 

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

store095
Explorer
95 0 43

Yes. Thank you. 🙂