Solved

How to add custom font for Georgian language on my website. -Spotlight theme

Nikxj44
Excursionist
27 2 7

So, I want to change font for georgian language (ka), what should I add in base.css to change font family for only GEORGIAN language? 🙏

site: https://kartbagrationvalley.com/

password: KBV

Accepted Solution (1)

Nikxj44
Excursionist
27 2 7

This is an accepted solution.

I managed to do it.

View solution in original post

Replies 3 (3)

filipmariani
New Member
4 0 0

Hi, nice to meet you. I am a Senior Shopify Developer with 6 years of experience.

I have read your post. I hope my idea will help you.

To change the font for the Georgian language (ka) on your website, you need to add specific CSS rules targeting Georgian text. You can do this by defining a custom font-family for Georgian language content in your base.css file. 

 

/* Step 1: Import the chosen font */ @

@impor url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@400;700&display=swap');

 

/* Step 2: Apply the font to Georgian text */

body {

    font-family: 'Your Default Font', sans-serif;

}

 

body:lang(ka) {

   font-family: 'Noto Sans Georgian', sans-serif; 

}

 

Best Regards.

 

 
Filip Mariani
Nikxj44
Excursionist
27 2 7

I adjusted this code but it doesn't work 😔

This is name of the font that I uploaded: bpg_glaho

and format is : ttf

Nikxj44
Excursionist
27 2 7

This is an accepted solution.

I managed to do it.