Shopify themes, liquid, logos, and UX
Hey guys,
I want to use a different font in this section here:
The only problem is that this text can only be edited in the product description outside the theme customization. Can I change the font style here anyway, with some codes?
Best regards!
Hi @ekrembcc
Yes, you can change the font style for text in the product description using CSS, even if it is outside the theme customization. Add this code to your theme's base.css or theme.css file: https://prnt.sc/JUVaFvyA4Syc
.product-description {
font-family: 'YourFontName', sans-serif; /* Replace 'YourFontName' with the desired font */
}
If the text is in a specific section or class, use the appropriate selector instead of .product-description. Ensure the font is loaded correctly in your theme by importing it via a <link> tag or @font-face.
If you have other questions, I am willing to answer them more.
Best regards,
Daisy
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025