Make smaller product title

Topic summary

A user seeks help reducing the product title and price font size on mobile devices for their Shopify store.

Solution Provided:

  • Add CSS code to the theme’s base.css, style.css, or similar file
  • Target .card__heading and .card-information elements with font-size: 14px
  • Use media query @media screen and (min-width: 680px)

Current Status:

  • Initial code implementation unsuccessful
  • Troubleshooting in progress: helper requested clarification on whether testing occurs on phone or desktop
  • Updated code provided with !important flags to override existing styles

Implementation Steps:

  1. Navigate to Online Store → Themes → Customize → Edit Code
  2. Locate theme CSS file in left sidebar
  3. Paste code at bottom of file

The discussion remains ongoing as the original poster reports no visible changes after applying the first code snippet.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hello I have a question, how can I make this product title and price smaller on mobile?

Hi @Szymon9

Can you please provide your store URL and password as well if applicable, so that I can provide you solution that can work for your store.

Best regards

Sahil

https://fibgy0as1msi2aaa-86580068677.shopifypreview.com

Hi @Szymon9 Thanks for providing the URL, Please add the code in your theme.css/base.css/style.css file which is available in your theme.

@media screen and (min-width: 680px) {
.card__heading {
    font-size: 14px;
}

.card-information>*:not(.visually-hidden:first-child)+*:not(.rating):not(.card__information-volume-pricing-note) {
    font-size: 14px;
}
}

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!

Best Regards

Sahil

I paste this code at the bottom of base.css file and nothing change

Hi @Szymon9 Are you checking in phone or desktop?

please specify, also please try this code first.

@media screen and (min-width: 680px) {
 .card__heading {
    font-size: 14px !important;
 }

 .card-information>*:not(.visually-hidden:first-child)+*:not(.rating):not(.card__information-volume-pricing-note) {
    font-size: 14px !important;
 }
}

Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!

Best Regards

Sahil