Support » Fixing WordPress » How to change the font of my website

  • I am using a theme on my website that does not have a way to change the fonts.
    My website is here:

    Can someone tell me how can I change the font type and size of the main text as well as possibly the line spacing?

    Thank you very much for the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s really hard to help you with this, because the code is specific to your theme.

    You would really be best to contact the theme’s developer, or consider hiring a freelance developer.

    The following code is located in your site’s header:

    <style type='text/css' media='screen'>
    	h1{ font-family:"Oswald", arial, sans-serif;}
    	h2{ font-family:"Oswald", arial, sans-serif;}
    	h3{ font-family:"Oswald", arial, sans-serif;}
    	h4{ font-family:"Oswald", arial, sans-serif;}
    	body{ font-family:"Lora", arial, sans-serif;}
    	blockquote{ font-family:"Lora", arial, sans-serif;}
    	p{ font-family:"Lora", arial, sans-serif;}
    	li{ font-family:"Lora", arial, sans-serif;}

    It’s impossible for me to know exactly where this code is coming from, but my best guess would be header.php in your theme’s directory.

    If you know some basic CSS you will be able to change these fonts + styles. However, if you’re unsure of what you are doing – I wouldn’t touch these files. There is a risk of breaking the site if you perform these updates live and you make a mistake.

    Final suggestion – if this is a theme that you ever intend to update, then you should use a child theme instead of updating the parent theme.

    Thank you very much for the explanation, that makes a lot of sense.

    To change the font I finally installed a Google font plugin and from there I could easily change the fonts.

    Good solution – I hadn’t even thought of doing that!
    Glad it all worked out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change the font of my website’ is closed to new replies.