How To Change Product Title Font Size Under Collections Page Sense Theme [Mobile Only]

Since my collection name is a bit long..there are line breaks in my collections page list

Hence I need to reduce the text size to eliminate line breaks in m obile view (Sense Theme)

MY STORE LINK

1 Like

Hey @david09

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

2 Likes

Hi @david09

You can try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • 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 (max-width: 749px){
h3.card__heading {
    line-break: auto;
    font-size: 16px;
}
}

I hope it help.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like