Reducing the header size of collection list for mobile in Dawn theme

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.

www.lushpupco.com

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 :blush:

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