How do I reduce the size of this image on my shopify store so that it matches more of the other text on my site? The size dosen’t have to be greatly reduced.
Store Link: FlameCore Humidifier™ – 2 Flame Humidifier (2-flame-humidifier.myshopify.com)
Password: bigmoney223
1 Like
Hello @rvernon23 ,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset >base.css and paste this at the bottom of the file:
.image-with-text__media-item.image-with-text__media-item--medium.image-with-text__media-item--top.grid__item {
width: 13%!important;
}
Hi @rvernon23 ,
Go to Assets > base.css and paste this at the bottom of the file:
@media screen and (min-width: 990px) {
#shopify-section-template--15756831752443__1655682640923ca2de .image-with-text__media-item,
#shopify-section-template--15756831752443__1653955366bd1cbbe2 .image-with-text__media-item {
padding-left: 4rem;
max-width: 35%;
width: calc(35% - var(--grid-desktop-horizontal-spacing) / 2);
}
}
@media screen and (min-width: 750px) {
#shopify-section-template--15756831752443__1655682640923ca2de .image-with-text__media-item ,
#shopify-section-template--15756831752443__1653955366bd1cbbe2 .image-with-text__media-item {
width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
}
}
It should work well for all screens and not affect other ‘Image with text’ sections.
@rvernon23 ,
- In your Shopify Admin go to online store > themes > actions > edit code
- In your theme.liquid file, find the (press CTRL + F or command + F on Mac)
- paste this code right above the tag:
If it helps you please click on the “like” button and mark this answer as a solution!
Thank you.
Kind regards,
Diego