Hi, I would like to make this product image half the size and make the text beneath it follow on mobile. Any idea how I do that? https://www.spermidin.dk/
You can acive this by adding this CSS code:
You just need to follow these steps:
- Go to the Online Store
- Edit Code
- Find theme.css / base.css
And past that CSS Code:
@media(max-width:766px){
.image-with-text .image-with-text__media-item .image-with-text__media {
padding: 0 !important;
width: 100%;
height: 350px;
}
.image-with-text .image-with-text__media-item .image-with-text__media img {
width: 100%;
height: 100%;
object-fit: contain;
transform: unset !important;
}
}
The result will be :
I hope this solution works for you!
If it does, please Like It and Mark It As A Solution, or support me by Buying Me A Coffee to keep me going
Hello @DaCharmander
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
