For Minimum Theme: How do I get the font to look like the demo site?

Community Forums Forums General Discussion For Minimum Theme: How do I get the font to look like the demo site?

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  samster 1 year, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3908

    samster
    Participant

    Hi,

    For some reason the fonts on my site dont look like the minimum demo site’s font. The fonts on the demo site are bold / heavier and just look better. I checked the CSS and it seems to be the same as the demo? Not sure how to fix this. Halp!

    http://samrexford.com

    #4771

    samster
    Participant

    Any help from the Mod’s on this?

    #4779

    Aaron Hartland
    Participant
    Post count: 37

    The original CSS is correct, but I just downloaded a fresh version of the theme and it appears that the “bold” font weight isn’t being pulled in from Google fonts by the function in the functions.php file.

    To fix, I would suggest….

    Look for this in your functions.php file:

    /** Load Google fonts */
    add_action( 'wp_enqueue_scripts', 'minimum_load_google_fonts' );
    function minimum_load_google_fonts() {
        wp_enqueue_style( 
        	'google-fonts', 
        	'http://fonts.googleapis.com/css?family=Open+Sans', 
        	array(), 
        	PARENT_THEME_VERSION 
        );
    }

    And replace it with this (we’re adding in the normal (400) and bold (700) weights:

    /** Load Google fonts */
    add_action( 'wp_enqueue_scripts', 'minimum_load_google_fonts' );
    function minimum_load_google_fonts() {
        wp_enqueue_style( 
        	'google-fonts', 
        	'http://fonts.googleapis.com/css?family=Open+Sans:400,700', 
        	array(), 
        	PARENT_THEME_VERSION 
        );
    }

    Aaron Hartland | http://www.aaronhartland.com
    Twitter  |  Facebook  |  LinkedIn  |  Google+

    #4780

    samster
    Participant

    Bang!!! That did the trick :) Thanks so much Aaron! Done and done.

     

    -Sam

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.