You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#110500 Add 3 fonts to JCE

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Friday, 01 April 2022 10:37 BST

johnmendivel
hello support, I want to add 3 google fonts to JCE, how should I do it? google fonts are roboto, roboto condensed and slab roboto please help me

Ryan
Please see - https://www.joomlacontenteditor.net/support/tutorials/editor/adding-and-removing-fonts#webfont

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

johnmendivel
hello explain me step by step please
https://fonts.google.com/specimen/Barlow
for the barlow font for example, it doesn't work for me, how can I install this font?

Attachments

Ryan
for the barlow font for example, it doesn't work for me, how can I install this font?


Place the @import rule at the top of the css file.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

johnmendivel
is the family font name ok?

the @import that should be put, what is it?
@import url(http://fonts.googleapis.com/css?family=barlow);

or

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,[email protected];0.200;0.300;0.400;0.500;0.600;0.700;0.800;0.900;1.100;1.200;1.300;1.400 ;1,500;1,600;1,700;1,800;1,900&display=swap');

Attachments

Ryan
is the family font name ok?
Yes.
the @import that should be put, what is it? @import url(http://fonts.googleapis.com/css?family=barlow); or @import url('https://fonts.googleapis.com/css2?family=Barlow:ital,[email protected];0.200;0.300;0.400;0.500;0.600;0.700;0.800;0.900;1.100;1.200;1.300;1.400 ;1,500;1,600;1,700;1,800;1,900&display=swap');
You need to selec the styles you require here - https://fonts.google.com/specimen/Barlow#standard-styles - and then copy the @import rule (the bit between the