End of Support for Joomla 3 - Forum closed

Custom Font

Custom Font was created by cesarsupport

Posted 8 years 7 months ago #17650
Hi.
I would like to know in which file I can add a Google Font, to customize the font used in menus, h1 and others.

This is the code for embed font: ( I do not know in which file I should copy it.)
<style>
@import url(' fonts.googleapis.com/css?family=Josefin+Sans ');
</style>

Example of my custom.css

.menu-dropdown a.level1, .menu-dropdown span.level1 {
font-family: "Josefin Sans";
font-size: 16px;
}
h1 {
font-family: "Josefin Sans";
font-size: 13px;
line-height: 10px;
text-transform: none;

I hope can you help me.
Kind regards.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Custom Font

Posted 8 years 7 months ago #17658
Add this code at the top of your css/custom.css

@import url('fonts.googleapis.com/css?family=Josefin+Sans');

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

JoomlaPlates

Professional Joomla Templates with rich documentation and support since 2008. 60+ templates for Joomla 5 & 6.

Joomla 4 Joomla 5 Joomla 6
Contact & Legal
  • support@joomlaplates.com
  • Support Team
  • Mon-Fri: 9:00-18:00 CET

© JoomlaPlates. All rights reserved. 2008 - 2026

JoomlaPlates is not affiliated with or endorsed by the Joomla! Project. Joomla! is a registered trademark of Open Source Matters, Inc.