End of Support for Joomla 3 - Forum closed

Custom Font

Custom Font was created by cesarsupport

Posted 7 years 11 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 7 years 11 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/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License