Shopify themes, liquid, logos, and UX
Hello!
Im using debut theme.
I want that all headings are 34pt bold, but product title names are 22pt not bold.
My homepage:
I am checking the page and I saw that your product title is already 42px and bold https://prnt.sc/euhE7GsfSsCZ
Could you please show me the screenshot of the text that is 22pt not bold, so we can help you check it?
Best,
Daisy
Hello @Edgars_Rudzitis , Please add the class that sets the product title names to 22pt without bolding in your store i have added dummy class for now.
/* Set all headings to 34pt bold */
h1, h2, h3, h4, h5, h6 {
font-size: 34pt;
font-weight: bold;
}
/* Set product titles to 22pt and not bold*/
.product-card__title,
.product-single__title,
.grid-product__title {
font-size: 22pt;
font-weight: normal;
}
where to put this code please?
Hello @Edgars_Rudzitis ,
Access the Theme Editor:
Open the CSS (or SCSS) File:
Add the Custom CSS:
Scroll to the bottom of this file.
Paste the CSS code provided title classname.
Save the Changes:
Preview the Changes:
Shopify themes often have specific classes for product titles, so check your store to make sure the product titles have the classes that specified (.product-card__title, .product-single__title, .grid-product__title). Adjust the class names if they’re different.
i missed the thing a little..
i changed my debut theme settings for typography.. i recently made headings and buttoms from montserrat 22pt to montserrat bold 34pt and just now noticed my product titles also have montserrat bold 34pt but i liked the previous font and sizing for product titles
In the Shopify Debut theme, typography settings apply globally, so if you change the settings for headings, it can affect other text elements like product titles as well. To specifically override the product title font style without affecting the rest of the headings and buttons, you can add custom CSS targeting only the product titles.
Go to the Theme Editor:
Open the theme.scss.liquid or CSS File:
Add the Custom CSS:
Scroll to the bottom of the file.
Add the following code to set the font size and weight specifically for product titles:
/* Restore product title styling */
.product-card__title,
.product-single__title,
.grid-product__title {
font-family: "YourPreferredFont", sans-serif; /* Replace with your font name if needed */
font-size: 22pt;
font-weight: normal;
}
Save the Changes:
Preview and Verify:
Font Family: If you’re using a specific font that’s not loaded by default in the theme, ensure it’s available in the Shopify theme’s font settings or load it manually in the <head> section.
!Important (If Needed): If the product titles still inherit the global heading style, you may need to add !important to enforce the styles:
font-size: 22pt !important;
font-weight: normal !important;
This will allow you to keep your updated heading and button styles while restoring the product titles to their previous appearance. Let me know if this helps or if you have more questions!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025