Use several fonts and sizes

Use several fonts and sizes

ekrembcc
Explorer
56 0 14

Hey guys,

 

I want to use a different font in this section here:

 

Screenshot 2024-10-20 102013.png

 

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!

Reply 1 (1)

DaisyVo
Shopify Partner
4385 486 579

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

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