How can I fix different fonts for Lithuanian letters in my online store?

Solved

How can I fix different fonts for Lithuanian letters in my online store?

Milli2
Visitor
2 0 0

Hello. 

Maybe someone knows that? 

My shop language is Lithuanian. And when I use lithuanian letters like Š ž ė and so on, for example - in the collection list and collection description - the latin letters and lithuanian letters are in different fonts? 

My client doesn't like that, I need to change it but don't know how. 

Accepted Solution (1)
ThomKnepper
Shopify Partner
196 30 72

This is an accepted solution.

Then what you might be able to do, is search a proper font and edit the code a bit to ensure you have the manually uploaded font.

Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution

View solution in original post

Replies 8 (8)

ThomKnepper
Shopify Partner
196 30 72

Hi there,

 

So this is based on the font you have chosen. Some fonts do simply not support those characters. The easiest thing you can do is change fonts to a font that does support them.

 

Hope this helps!

Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution
Milli2
Visitor
2 0 0

Thank you for the answer, I search the whole list of fonts, every font has the same problem 

ThomKnepper
Shopify Partner
196 30 72

This is an accepted solution.

Then what you might be able to do, is search a proper font and edit the code a bit to ensure you have the manually uploaded font.

Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution
nestly
Excursionist
13 0 4

But how can you do that? 
I struggle from the same issue but can find a solution.
Where to upload the font, which code I need to modify to make sure it worked

ThomKnepper
Shopify Partner
196 30 72

Hi!

 

You can do that by uploading the font files to your "Content" via the admin. Then go to your theme editor and in the 'Custom CSS' setting of your theme add:

@font-face{
  font-family: yourFontName;
  src: url(shopify cdn link);
}

h1{
  font-family: yourFontName, sans-serif;
}
Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution
nestly
Excursionist
13 0 4

I'm trying right now, I need which Font format do I need to upload to "Content"? 

1. woff ?
2 woff.2 ? 
3. ttf ? 


ThomKnepper
Shopify Partner
196 30 72

You can actually use all, but you have to specify which font is what type. Woff and Woff2 will work best on web. 

 

https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face

Best wishes,
Thom Knepper - Athom.Agency
- Was my reply helpful? Please Like to let me know!
- Was your question answered? Awesome! Please Mark it as an Accepted Solution
nestly
Excursionist
13 0 4

Hi thank you very much, I managed to solve that through Fontify free app the helped me install & configure the font for specific language that I wanted.

But anyway thank you!