Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Head Logo on mobile view is not resizing properly

Solved

Head Logo on mobile view is not resizing properly

mslbd23
Tourist
3 0 1

Hi. everything is completely fine on the desktop site but the MOBILE site logo is "squished" i tried changing the logo width but it only makes it bigger, the logo with shouldbe 120px on mobile to no interfere with other things, i just need it unsquished? 

Accepted Solution (1)
Moeed
Shopify Partner
6334 1717 2072

This is an accepted solution.

Hey @mslbd23 

 

Try this updated code as it will only effect the home page of your mobile and nothing else.

{% if template == 'index' %}
<style>
@media screen and (max-width: 767px) {
.image-wrapper img {
    height: 31px !important;
    top: 4px !important;
}
}
</style>
{% endif %}

 

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!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
6334 1717 2072

Hey @mslbd23 

 

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) {
.image-wrapper img {
    height: 31px !important;
    top: 4px !important;
}
}
</style>

RESULT:

Moeed_0-1728160517329.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!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


mslbd23
Tourist
3 0 1

will this affect desktop? i dont want any changes to desktop. or other pages on mobile. the logo seems fine on other pages on mobile

Moeed
Shopify Partner
6334 1717 2072

This is an accepted solution.

Hey @mslbd23 

 

Try this updated code as it will only effect the home page of your mobile and nothing else.

{% if template == 'index' %}
<style>
@media screen and (max-width: 767px) {
.image-wrapper img {
    height: 31px !important;
    top: 4px !important;
}
}
</style>
{% endif %}

 

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!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


mslbd23
Tourist
3 0 1

Thanks

Moeed
Shopify Partner
6334 1717 2072

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral