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:
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024