• 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 Family for H1-h6 only

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 › Design Tips and Tricks › Change Font Family for H1-h6 only

This topic is: not resolved

Tagged: custom font

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 3 months ago by Ben Siegfried.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 7, 2014 at 2:43 pm #93869
    virtual
    Member

    I am using agentpress 2 and I want to use a custom font for my page titles and I need to know where to change the code to have the custom font only display for my page titles and anywhere else I am using h1-h6.

    Thank you

    http://hg.virtuallyassistingu.com
    March 7, 2014 at 5:16 pm #93894
    Ben Siegfried
    Participant

    In your style.css file you can change the following by taking out h1-h6 from the others and giving them their own unique rules. Be sure and separate the selectors, don't keep repeats between the two. But you can have different rules applied to the separate selectors. Hope that helps.

    
    body,
    
    h1,
    
    h2,
    
    h2 a,
    
    h2 a:visited,
    
    h3,
    
    h4,
    
    h5,
    
    h6,
    
    p,
    
    input,
    
    select,
    
    textarea {
    
    	color: #333;
    
    	font-family: Arial,Helvetica,sans-serif;
    
    	font-size: 16px;
    
    	font-weight: normal;
    
    	line-height: 22px;
    
    	margin: 0;
    
    	padding: 0;
    
    	text-decoration: none;
    
    }
    
    March 7, 2014 at 5:21 pm #93896
    Ben Siegfried
    Participant

    If that doesn't work you'll have to learn how to use Firebug or Developer tools to target which selectors are which in your site, and then find those in the style.css file and make those changes.

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

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