All things Shopify and commerce
I've been able to increase the columns on mobile from 2 to 6 but now my header font is too large. I've tried searching through other posts but can't seem to locate code that will help to reduce. I'd like the text to across no more than two rows per column.
Thanks!
You need to reduce number of items in a row, I would suggest keeping 3 a row.
Hello @lushpupco Go to online store ----> themes ----> actions ----> edit code ---->assets ---->base.css...>
add the code end of the file
@media (max-width: 768px) {
.header-class {
font-size: 16px;
line-height: 1.2;
max-height: 3em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
If this doesn't work let me know
thankyou 😊
HI @lushpupco
Add this css on custom css at the collection list section
@media only screen and (max-width: 768px) {
.section-collection-list h3.card__heading {
font-size: 10px !important;
}
}
Thanks And Regards
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