• 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

Change Font H1 H2 H3 H4 Gallery Pro

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 › General Discussion › Change Font H1 H2 H3 H4 Gallery Pro

This topic is: not resolved

Tagged: change font, Gallery Pro, h1, h2, H3, h4

  • This topic has 2 replies, 2 voices, and was last updated 4 years, 1 month ago by markajh.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 14, 2018 at 6:18 pm #225058
    markajh
    Participant

    The default font on Gallery pro for H1, H2, H3 and H4 is "Cormorant". I want to change it to "Open Sans", which is another font used in the theme.

    I assumed changing it on the CSS would work. Here is H1. If I change "Cormorant" to "Opens Sans" nothing happens... HELP! 🙂

    Thanks, Mark

    h1,
    .entry-title,
    .site-title {
    font-family: "Cormorant";
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.2;
    font-style: italic;
    }

    December 17, 2018 at 7:14 am #225098
    Victor Font
    Moderator

    You have to make sure Open Sans is enqueued in functions.php before you can change style.css. Gallery Pro enqueues the Google fonts around line 68 in functions.css. Use what's there as an example.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 17, 2018 at 8:38 am #225099
    markajh
    Participant

    I checked that and believe it is. Here's the code on functions.php

    // css
    wp_enqueue_style( 'ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION );
    wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Cormorant:400,400i,700,700i|Open+Sans:300,300i,600,600i,700,700i', array(), CHILD_THEME_VERSION );

    }

    It's always funny how we can be doing this for decades and then get stuck on the dumbest thing 🙂

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ 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

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