make collection titles smaller for collection list

Solved

make collection titles smaller for collection list

ads18922
Explorer
101 0 34

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:

Screenshot 2024-12-11 at 15.54.07.png

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

Accepted Solution (1)

DaisyVo
Shopify Partner
2834 339 394

This is an accepted solution.

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
Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9710 2309 2888

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;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1733933423109.png

    desktop

  • Made4uoRibe_1-1733933441518.png

    Mobile

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

DaisyVo
Shopify Partner
2834 339 394

This is an accepted solution.

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
Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution