Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
›
Fonts
Change FONT-FAMILY
Jan_Walli
October 2016
in
Fonts
Hi,
how can I change the font family just for one line?
<p style="font-size: 120px; line-height: 90px; font-weight: 400; font-family: Lobster;
color: #ffffff; text-align: center; ">WEB DESIGN</p>
That does not work!
Thanks
Jan
Comments
Albert
October 2016
Hi Jan,
your css attribute is nearly fine. You just forgot about the brackets. Instead of:
font-family: Lobster;
you should type:
font-family: 'Lobster';
Also, the font need to be included/selected under Theme options > Fonts > Family section.
Jan_Walli
October 2016
Hi,
Thank you for your quick response.
I chose this font family for Decorative.
is that enough?
Best regards
Jan
Albert
October 2016
Yes, it's enough. You just need to select this font for any section so it could be loaded.
Sign In
or
Register
to comment.
Comments
your css attribute is nearly fine. You just forgot about the brackets. Instead of:
font-family: Lobster;
you should type:
font-family: 'Lobster';
Also, the font need to be included/selected under Theme options > Fonts > Family section.