Solved

How to fix broken mobile header design?

ChrisW3
Pathfinder
213 1 9

Our mobile header has broken. The phone icon has split onto another line and the basket icon is different to desktop.

 

Desktop icon: https://cdn.shopify.com/s/files/1/0401/8641/3217/files/cart_d61e3e8a-f93c-4055-a258-d466de1c14b2.png

 

Can anyone advise?

 

https://www.physioworldshop.co.uk/

 

 

image0 (4).jpeg

Accepted Solution (1)

Moeed
Shopify Partner
3795 958 1190

This is an accepted solution.

Hey @ChrisW3 

 

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 (max-width: 767px) {
.display-table-cell .sign-in-mobile img {
    top: -20px !important;
}
}
</style>

 

RESULT:

Moeed_0-1704790165427.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 developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 2 (2)

Moeed
Shopify Partner
3795 958 1190

This is an accepted solution.

Hey @ChrisW3 

 

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 (max-width: 767px) {
.display-table-cell .sign-in-mobile img {
    top: -20px !important;
}
}
</style>

 

RESULT:

Moeed_0-1704790165427.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 developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

techlyser_web
Shopify Partner
1507 278 298

You can add code by following these steps 

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 only screen and (max-width: 749px){
         .display-table-cell .sign-in-mobile img {
              bottom: 19px !important;
         }
    }
@media only screen and (max-width: 768px){
    span.sign-in-mobile a img {
          height: 30px;
          width: 30px;

     }
    .display-table-cell .sign-in-mobile img {
        bottom: 21px !important;
      }
}

</style>

For Tablet:

techlyser_web_1-1704791110839.png

 

For Mobile:

techlyser_web_0-1704791033765.png

 

Techlyser || 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- info@techlyser.com