make collection titles smaller for collection list

hello, i would like to change the size of the titles for my collections in the collection list section. I only want to do this on mobile, not desktop:

theme is dawn, website url is www.marcomontesi.com

1 Like

Hi @ads18922

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (min-width: 750px){
.collection-list h3.card__heading {
    font-size: 1.5rem;
}
}
@media only screen and (max-width: 749px){
.collection-list h3.card__heading {
    font-size: 2.5rem;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

Hi @ads18922

To complete your requests, please follow these steps:

  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.
@media screen and (max-width: 768px){
li.collection-list__item h3.card__heading a {
    font-size: 14px !important;
}
}

Here is the result: https://prnt.sc/BK_b3eB7-PUl

I hope this helps

Best,

Daisy