• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to change Fonts in Modernista Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to change Fonts in Modernista Theme

This topic is: not resolved

Tagged: fonts, modernista, pretty blog themes

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 3 months ago by CleanPageDom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 16, 2015 at 12:50 am #137636
    amandafuller
    Member

    Hi there
    I have just bought the Modernista Theme from Pretty Blog Themes and am helping a friend to set it up.

    Just wondering if anyone can please let me know how I can use google fonts in the theme for menu titles and sidebar/widget titles?

    I haven't installed the theme yet as I am waiting for the domain to finish registering, but the link to the theme's demo page is included.

    Any help would be SO appreciated!

    http://prettyblogthemes.com/shop/themes/modernista/
    January 16, 2015 at 10:40 am #137671
    CleanPageDom
    Participant

    Hi Amanda

    You certainly can use Google fonts. If you know the ones you want to use, what I tend to do is enqueue them in the functions.php file and then do a find and replace in style.css to switch out the original font and add your new one.

    Go to functions.php in your theme editor and find the line that looks like this:

    wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Lato:400,700', array(), CHILD_THEME_VERSION );

    Say you wanted to add Open Sans to the mix, change that line to this:

    wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Lato:400,700 | Open+Sans:100,300,400,600,700', array(), CHILD_THEME_VERSION );

    So add a |, then the name of your new font (with a + if it has more than one word), then the : followed by the weights you want to add, separated by ,.

    There are probably plugins available which give you access to all of the Google Fonts in one go. I haven't looked into this.

    Thanks
    Dom


    Let’s build a website together…

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble