• 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

How to do a site-wide modifiction of Custom CSS code for H2-H5

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 › How to do a site-wide modifiction of Custom CSS code for H2-H5

This topic is: not resolved

Tagged: custom css, Font Colors, Sitewide CSS changes

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 10 months ago by Brad Dalton.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • January 28, 2016 at 2:38 pm #177768
    LindaV42
    Member

    My web designer set up sitewide custom code for the colors, size and weight of the H2-H5 fonts in Edit CSS. I would like to change the colors and size of those fonts. I would like different shades of the same color for each level of the H fonts.. One one font (H2) I replaced the old hexidecimal color code with the new color code, clicked "preview" - no change. Clicked "Save Stylesheet" and again no changes.
    NB - My caching plugin has never been activated.
    StudioPress customer support suggested using Firefly, but my understanding is that is for line-by-line changes - which would be tedious and result in code bloat.
    Has anyone done a site-wide change of the characteristics of the H2-H5 fonts? How did you do it.?
    Any help is much appreciated.

    http://new.lindavarone.com
    January 28, 2016 at 5:17 pm #177779
    Brad Dalton
    Participant

    Generally, you'll find CSS like this near the start of your child themes style.css file

    /* ## Headings
    --------------------------------------------- */
    
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    	color: #333;
    	font-family: Lato, sans-serif;
    	font-weight: 400;
    	line-height: 1.2;
    	margin: 0 0 10px;
    }
    
    h1 {
    	font-size: 36px;
    	font-size: 3.6rem;
    }
    
    h2 {
    	font-size: 30px;
    	font-size: 3rem;
    }
    
    h3 {
    	font-size: 24px;
    	font-size: 2.4rem;
    }
    
    h4 {
    	font-size: 20px;
    	font-size: 2rem;
    }
    
    h5 {
    	font-size: 18px;
    	font-size: 1.8rem;
    }
    
    h6 {
    	font-size: 16px;
    	font-size: 1.6rem;
    }
    

    Simply change the values for each font-size and add a color declaration to each.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

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