Re: Mobile Header Design

Solved

How to fix broken mobile header design?

ChrisW3
Pathfinder
247 1 14

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
6577 1783 2162

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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 2 (2)

Moeed
Shopify Partner
6577 1783 2162

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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


niraj_patel
Shopify Partner
2378 514 508

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

 

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