WebSite X5Help Center

 
IT Officer
IT Officer
User

Specify font family in Style Sheet  en

Автор: IT Officer
Просмотрено 671, Подписчики 1, Размещенный 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? 

Размещено
2 Ответы
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:

Читать больше
Размещено От Aleksej H.
Daniel W.
Daniel W.
User
Лучший пользователь месяца 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.

Читать больше
Размещено От Daniel W.