End of Support for Joomla 3 - Forum closed
Custom Font
- cesarsupport
- Offline Topic Author
- Fresh Boarder
-
- Posts: 19
- Thank you received: 0
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.
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.
by cesarsupport
Please Log in or Create an account to join the conversation.
- joomlaplates
-
Offline
- Moderator
-
- Posts: 8841
- Thank you received: 1736
Add this code at the top of your css/custom.css
@import url('fonts.googleapis.com/css?family=Josefin+Sans');
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates