• 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

Need to Change Font in The Daily Dish Pro 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 › Design Tips and Tricks › Need to Change Font in The Daily Dish Pro Theme

This topic is: resolved

Tagged: google fonts, site title, The Daily Dish

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago by Dianne.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 15, 2014 at 7:48 pm #119162
    Dianne
    Participant

    Hi,

    I am trying to change the font name for the site title in The Daily Dish pro theme. I know how to register the name of the new font in the older themes but I don't know how to do it in HTML5. Can someone help me?

    Thanks very much,

    Dianne

    http://www.newhousedays.com
    August 15, 2014 at 9:09 pm #119170
    Tom
    Participant

    Dianne,

    With Daily Dish Google Fonts are enqueued in functions.php

    //* Enqueue scripts and styles
    add_action( 'wp_enqueue_scripts', 'daily_dish_enqueue_scripts_styles' );
    function daily_dish_enqueue_scripts_styles() {
    
    	wp_enqueue_script( 'daily-dish-responsive-menu', get_bloginfo( 'stylesheet_directory' ) . '/js/responsive-menu.js', array( 'jquery' ), '1.0.0' );
    
    	wp_enqueue_style( 'dashicons' );
    	wp_enqueue_style( 'daily-dish-google-fonts', '//fonts.googleapis.com/css?family=Lato:400,700,900|Playfair+Display:400', array(), CHILD_THEME_VERSION );
    
    }

    Make your changes to the last line. To add Roboto in two weights:
    wp_enqueue_style( 'daily-dish-google-fonts', '//fonts.googleapis.com/css?family=Lato:400,700,900|Playfair+Display:400|Roboto:400,700', array(), CHILD_THEME_VERSION );

    Then follow-up with your CSS changes.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    August 15, 2014 at 9:33 pm #119171
    Dianne
    Participant

    Thanks, Tom. That's what I was looking for. I appreciate your help.

  • 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

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