WebSite X5Help Center

 
IT Officer
IT Officer
User

Specify font family in Style Sheet  en

Author: IT Officer
Visited 669, Followers 1, Shared 0  

I want to specify a #font-family for all the text on the site. At the moment we use Tahoma but that displays as Times New Roman on Apple devices. I want to add a font family that has Tahoma first (for Windows devices) and then Sans serif for Apple devices. 

Can I edit a style sheet to make this happen using this software? There are several style sheets and I dont know which one to use. Then where in the style sheet do I add the font-family to make it flow through to all the text, headings etc. I have some ideas but can't test unless i upload to a live system and dont want to do that.  Has anyone done something like this? 

Posted on the
2 ANSWERS
Aleksej H.
Aleksej H.
Moderator

Hello. If you want to make changes only for fonts, then I recommend that you consider inserting CSS like in this video.

If there is a lot of code, then it is better to add an additional file with styles:

Read more
Posted on the from Aleksej H.
Daniel W.
Daniel W.
User
Best User of the month EN

It should be easier if a font is used that is available on both Windows and Apple computers.

Arial should also be present on Apple computers and looks almost like Tahoma.

Since I don't have an Apple computer, unfortunately I can't do any tests.

Read more
Posted on the from Daniel W.