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
Hi,
Could someone please help me wrap the text in the banner image?
I would like to have 3 lines of text instead of 2 but I don't know where to change the code so I can add breaks.
Thank you!
Solved! Go to the solution
This is an accepted solution.
@dkcrooby please add this css to the very end of your base.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> base.css
@media screen and (min-width: 750px) {
.banner__box {
max-width: 40rem !important;
min-width: 40rem !important;
}
}
This is an accepted solution.
@dkcrooby please add this css to the very end of your base.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> base.css
@media screen and (min-width: 750px) {
.banner__box {
max-width: 40rem !important;
min-width: 40rem !important;
}
}
That's perfect - thank you so much!
Hi @dkcrooby
Try this one.
@media screen and (min-width: 1400px) {
.banner__content .banner__box {
max-width: 40rem;
}
}
@media screen and (min-width: 750px) {
.banner__content .banner__box {
width: auto;
max-width: 40rem;
min-width: 10rem;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Thanks very much!