Can you tell me where and how to change the font of menu and buttons form Helvetica(?) to Oswald?
Hey vanderburg!
Thank you for using Enfold.
Please use this on Quick CSS or custom.css:
span.avia_iconbox_title {
font-family: 'Oswald', sans-serif;
font-size: 15px;
}
Add this on functions.php:
function oswald_font() { ?>
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<?php }
add_action('wp_head', 'oswald_font');
Cheers!
Ismael
Thanks Ismael, but…… when finished doing as you suggested i lost everything: complete blank pages cannot do anything any more. Any idea what happend? I now see there are two function.php files: ” functions-enfold.php” and “theme functions (function.php)”.
If I have to start all over (transferring my local website to the host) i would like to know for sure which file to use for adding the php instruction
Hi Ismael. I already figued it out. I copied the css instructions in the php file as well. Solved.
it does however change the button fontbut not the menu font. Is there a way to change all headings in Oswald?
Hi!
Please add following code to Quick CSS
h1, h2, h3, h4, h5, h6 { font-family: 'Oswald', sans-serif !important; }
Cheers!
Yigit
still no change of the main menu font. Where can I find it in the css file of my wp css content? Is it in ‘lay-out.css’ or ‘base.css’ ? How is the main menu called?
Hi!
You can change the body font on Enfold > General Styling > Font panel. It will also change the menu font. Or you can, add this on Quick CSS or custom.css to change the font family of the main menu:
span.avia-menu-text {
font-family: 'Oswald', sans-serif !important
}
Cheers!
Ismael