How do I change a certain bit a text with a custom font?

jakobmb
Tourist
6 0 1

Hello,


Just wondering how I change a certain bit a text with a custom font?


There's a couple sections that I need changed (circled text is just a example of 1 page)

Thanks!

Replies 4 (4)

vander-julia
Shopify Partner
2 0 0

Hi Jakobmb,

Well to answer your question, yes there is a way to change text with a custom font, but it's more technical than you think.

First you will need a font you want then you need the CSS (Cascading Style Sheet) code of your custom font you can get it through Google fonts and simply copy the embed code.

Next, You will need to add the custom fonts to your theme

Then you need to identify the specific text you want to change and target it by adding a class to the text

And lastly, apply the custom fonts to the text and save changes

 

vandersignatures

gauravshukla
Shopify Partner
31 3 6

Create a CSS class and set the font style. wrap the text you want to change in <span> tag and apply the class on span element. You will need to do this via code. I can help if you want.

Founder at Farziengineer. Whatsapp on +91-9044747946 for quick help
jakobmb
Tourist
6 0 1

Help with this would be amazing.

gauravshukla
Shopify Partner
31 3 6

Sent you a message.

Founder at Farziengineer. Whatsapp on +91-9044747946 for quick help