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:
Dropshipping, 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, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024