• Hello!

    I am trying to change the font style of the titles of my posts, the page names (when you’re in the actual page, not the menu font), and the widget titles in the sidebar.

    I found an article on using Google fonts but I think that will change the font across the entire site…I just want to change the fonts in those three areas.

Viewing 2 replies - 1 through 2 (of 2 total)
  • David_G

    (@questas_admin)

    First you need a child-theme to make changes, not a good idea to edit the core files of the theme.
    To add google fonts, use this snippet in your functions.php child-theme file. Add the fonts you want where it has fonts listed. You can add as many as you want, then use them where you want using the “style.css” file in your child-theme.

    add_action( 'wp_enqueue_scripts', 'my_google_font' );
    function my_google_font() {
    wp_enqueue_style( $handle = 'my-google-font', $src = 'http://fonts.googleapis.com/css?family=Font1|Font2|Font3|Font4|Font5', $deps = array(), $ver = null, $media = null );
    }
    David_G

    (@questas_admin)

    In your style sheet you can use this to change the fonts in your post/page titles. You will probably have to experiment with the font size.
    Use the same for your posts, but use .post .entry-title {} instead.

    .page .entry-title {
    font-family: font-name-here; /*put your font here */
    font-size: 50px; /* change size */
    color: #ffff00; /* change color */
    position: relative;
    left: 43%; /* change position if needed or delete */
    text-decoration: none;
    }
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change Customizr Post Title Font’ is closed to new replies.