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

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

lushpupco
Tourist
9 0 5

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!

 

lushpupco_0-1727939409595.png

 

 

Replies 3 (3)

Adam01
Tourist
3 1 0

You need to reduce number of items in a row, I would suggest keeping 3 a row.

goldi07
Excursionist
28 3 3

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 😊

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -Goldi184507@gmail.com - Skype: live:.cid.819bad8ddb52736c -Whatsapp: +919317950519
Checkout Some Free Sections Here

nidhidhiman004
Shopify Partner
74 5 8

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

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639