Hi Community. I was hoping someone may be able to help. I’ve searched the forums and found similar discussions on the topic, but none of the verified solutions have worked for me.
I have a slideshow image banner on my homepage. I have amended the heading font size so that the text is larger on desktop than mobile. The desktop display is now exactly as I want it. However, I was hoping to amend the size of the image on mobile.
Is there a way I can increase the size of the image banner on mobile so that it adapts to the screen size?
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: 749px){
.slideshow__text-wrapper {
height: 50rem !important;
}
}