• 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

Adding Google Font to Design Palette Pro

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 › Design Tips and Tricks › Adding Google Font to Design Palette Pro

This topic is: resolved

Tagged: design palette pro, dpp, genesis, google fonts

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 10 months ago by mhexpert.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 25, 2015 at 6:52 pm #163502
    mhexpert
    Member

    Hi there,

    I'm using Design Palette Pro with their Google WebFonts plugin.

    One of the fonts I want to use for my site title is not included in the plugin (Poiret One). I was able to edit the functions.php file and then add custom CSS to my theme via DPP, and it worked beautifully (thanks to advice from other topics).

    For another font I want to use, the font versions that I need are not included (300 light, etc). This is where I'm having trouble. The new font will not display...

    What I've done so far is this:

    I added this to the functions.php file, as suggested in other topics:

    //* Enqueue Poiret-One and Josefin-Sans Google fonts
    add_action( 'wp_enqueue_scripts', 'sp_load_google_fonts' );
    function sp_load_google_fonts() {
    	wp_enqueue_style( 'google-poiret-one', '//fonts.googleapis.com/css?family=poiret+one:400 | josefin+sans:300,600,600italic,700,700italic', array(), CHILD_THEME_VERSION );
    }

    Then I added this to the Freeform CSS to force Josefin Sans 300 (light) across my entire site:

    body.gppro-custom {
    	font-family: 'Josefin Sans', sans-serif;
    	font-weight: 300;
            font-size: 20px;
    }

    My site still shows me Josefin Sans 400, which is an italic font. Josefin Sans 300 is a light font with no italics.

    I appreciate any help in advance.

    PS: pardon mistakes posting, it is my first time.

    http://www.manufacturedhomes.expert
    August 25, 2015 at 7:55 pm #163507
    frobn
    Member

    You need to capitalize the font names and remove the spaces

    //fonts.googleapis.com/css?family=Poiret+One:400|Josefin+Sans:300,600,600italic,700,700italic

    August 25, 2015 at 9:16 pm #163515
    mhexpert
    Member

    @frobn: Genius! THANK YOU! It works now!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2025 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