Shopify themes, liquid, logos, and UX
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?
Solved! Go to the solution
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
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:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
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
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
Thanks
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.
The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024