Shopify themes, liquid, logos, and UX
I am having issues with an image with overlay text component on mobile.
The image looks perfect when viewed on desktop, but when looking at it from a mobile, the text goes over the image and I cannot seem to edit this or make it so it doesn't appear over the text. I have tried adjusting the focal point of the image which helped slightly but hasn't fixed the problem.
Any edits I make to the component for mobile (reducing heading size etc) makes the same edits to the desktop version.
Hi @SuperSnazzy
Can I take a look, would you mind to share your store URL? Thanks!
Thanks for the info, is this one right?
I try to align on the smallest screen size,
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 480px){
.image-with-text-overlay-wrapper .image-with-text-overlay__content-box {
display: flex;
justify-content: left;
}
.homepage-featured-content-box-inner.shown-on-scroll.animated.fadeInUp {
padding-left: 10px;
}
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you!
The screenshot you sent is perfect! I have tried to follow your instructions but cannot find any assets under those three names.
I can only see the following:
We 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, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024