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.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024