WordPress.org

Forums

WP Google Fonts
custom css (2 posts)

  1. boobymonster
    Member
    Posted 1 year ago #

    How can I apply a certain Google Font to a specific div tag?

    http://wordpress.org/extend/plugins/wp-google-fonts/

  2. Aaron Brown
    Member
    Posted 1 year ago #

    Hello @boobymonster. To apply a font to a specific div tag, the div tag must have an id or a class, or a way to specify it through other CSS selectors.

    First select the font in the Google Fonts settings page. Then, in the Custom CSS text area, write in the appropriate CSS.

    For example, if you want to apply the font "Acme" to a div tag with an id of "#container", you would enter the following in the Custom CSS box:

    #container{
       font-family: acme;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Google Fonts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.