Return to Support

Google Webkit installation help

Home Forums Graphene WordPress theme Support Google Webkit installation help

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #6118
    brynscores
    Member

    Hi I am trying to install / link a Google Web font in my Graphene template I am relatively new to PHP do know HTML and CSS can someone shed some light on the subject and point me in the right direction?

    Regards,

    Fustrated..

    #33404
    Syahir Hakim
    Keymaster

    Moved to Support. Please post in the correct section next time.

    Have you seen the option in Graphene Options > Display > Text Style Options > Google Webfonts?

    #33405
    brynscores
    Member

    No my Graphene text style options does not have a Google Webfonts option.

    Bryn

    #33406
    Syahir Hakim
    Keymaster

    You’re using an older version of the theme. If you haven’t modified any of the theme’s files, update to the latest version (1.8.2) to get that option.

    #33407
    brynscores
    Member

    I have modified the CSS and some sprites

    #33408
    brynscores
    Member

    Where and how can I paste the Google webfont link? I read online that it can be put into the header.php…but after messing up the theme-function.php i am leary..

    #33409
    Prasanna SP
    Member

    If you’d ever need a plugin for that, here is the Ultimate TinyMCE Google Webfonts

    1. Enqueue it (this goes in the child-theme’s functions.php file. Put this anywhere between opening and closing php tags. Change the fonts URL to what you got from the Google Webfonts)

    function load_google_webfonts() {
    wp_register_style('GoogleWebFonts', 'http://fonts.googleapis.com/css?family=Marcellus+SC|ABeeZee');
    wp_enqueue_style( 'GoogleWebFonts');
    }

    add_action('wp_enqueue_scripts', 'load_google_webfonts');

    2. import the style sheet (Put it in child theme’s style.css)

    @import url(http://fonts.googleapis.com/css?family=Marcellus+SC|ABeeZee);

    Of course! Change the URL to what you got from the Google Webfonts.

    #33410
    brynscores
    Member

    That’s precisely what I pasted in at the end of the Theme-function.php file and mucked it up… I’ll try the plugin first.

    Thanks!

    Bryn

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

You must be logged in to reply to this topic.