WebSite X5Help Center

 
IT Officer
IT Officer
User

Specify font family in Style Sheet  en

Auteur : IT Officer
Visité 502, Followers 1, Partagé 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? 

Posté le
2 RéPONSES
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:

Lire plus
Posté le de Aleksej H.
Daniel W.
Daniel W.
User
Meilleur utilisateur du mois DEMeilleur utilisateur du mois 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.

Lire plus
Posté le de Daniel W.