Help with logo on mobile

Solved

Help with logo on mobile

vivvy1522
Excursionist
27 0 4

Hi,

I looked for a solution on the forum, but didn't find it. 

Is it possible to enlarge the logo only on the mobile version? On the desktop version I have a perfectly matched logo and header size. 

The theme that I'm using is Local by Krown Theme, my website is www.xmine23.it

 

Accepted Solution (1)

Moeed
Shopify Partner
6956 1877 2292

This is an accepted solution.

Hey @vivvy1522 

 

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) {
.site-header .logo img {
    width: 170px !important;
    object-fit: cover !important;
    left: 15px !important;
    position: relative;
}
}
</style>

RESULT:

Moeed_0-1719475657343.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 3 (3)

Moeed
Shopify Partner
6956 1877 2292

This is an accepted solution.

Hey @vivvy1522 

 

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) {
.site-header .logo img {
    width: 170px !important;
    object-fit: cover !important;
    left: 15px !important;
    position: relative;
}
}
</style>

RESULT:

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


vivvy1522
Excursionist
27 0 4

Thank you! It worked perfectly! now it's perfect 😍

niraj_patel
Shopify Partner
2391 516 515

Hello @vivvy1522 

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 screen and (max-width: 767px){
.site-header .logo img {
width: 200px !important;
object-fit: cover !important;
margin-left: 21px;
}
.site-header .logo {
padding: 0 1rem !important;
}
}
</style>

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