Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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!