Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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.