Shopify themes, liquid, logos, and UX
I used Canva to resize the image, but if I make it bigger then it makes my banner size bigger, which I don't want. I want the image to take up some of the blank space up around it without making the banner size bigger. There is plenty of room to make the image bigger and use up some of that space. It looks good on mobile (because I got help here). 🙂
Thanks
website is: https://weekendcowgirlboutique.com/#
Solved! Go to the solution
This is an accepted solution.
Add this code in your base.css file:
@media (min-width: 500px) {
div#Banner-template--16160181223636__image_banner img {
width: 149%;
height: 149%;
transform: translate(0px, -15%);
}
}
@media (max-width: 499px) {
div#Banner-template--16160181223636__image_banner img {
width: 120%;
height: 120%;
transform: translate(0px, -7%);
}
}
The second code is for mobile, I have made the design a little larger on these devices.
Before:
After:
This is an accepted solution.
Add this code in your base.css file:
@media (min-width: 500px) {
div#Banner-template--16160181223636__image_banner img {
width: 149%;
height: 149%;
transform: translate(0px, -15%);
}
}
@media (max-width: 499px) {
div#Banner-template--16160181223636__image_banner img {
width: 120%;
height: 120%;
transform: translate(0px, -7%);
}
}
The second code is for mobile, I have made the design a little larger on these devices.
Before:
After:
Much better, thanks so much!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025