css selectors - Custom font for specific language shopify
The easiest way to do this is to give your body tag a class with the language .eng and .arabic, or just target arabic, have both fonts loaded in your store and just then just call the new font on body.arabic in css.
The drawback to this is that you are loading both fonts all the time which is not optimal for performance but this is the easiest method.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.