• 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

Edit CSS file to change titles text size

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 › Edit CSS file to change titles text size

This topic is: not resolved

Tagged: css, text size, titles

  • This topic has 6 replies, 3 voices, and was last updated 10 years, 11 months ago by Davinder Singh Kainth.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • August 18, 2015 at 7:30 am #162732
    tucacu
    Member

    Hello to everybody!

    I'm new to genesis and I am customizing the executive Pro theme.
    I find the titles (hq, h2, h3...) in the pages and posts to be extremely large. I tried to change the size in the style.css file inside the child theme folder via FTP but it isn't working.

    The piece of css I modified is this:

    h1 {
    	font-size: 42px;
    }
    
    h2 {
    	font-size: 36px;
    }
    
    h3 {
    	font-size: 30px;
    }
    
    h4 {
    	font-size: 24px;
    }
    
    h5 {
    	font-size: 20px;
    }
    
    h6 {
    	font-size: 16px;
    }
    
    }

    I changed the number to smaller ones and saved the file but nothing happened. I've serched around here but couldn't find any post that solved my doubt.

    Any idea of why is this?

    August 18, 2015 at 8:21 am #162744
    emasai
    Participant

    Some of the h tags have classes applied to them so that is what you need to change, like h1.entry-title. You need a web inspector to find the tags you want to change and the line of css which applies to them.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    August 18, 2015 at 8:22 am #162745
    Davinder Singh Kainth
    Member

    If are trying to change size of post titles on the homepage, look for following code in style.css file

    .entry-title {
    	font-size: 36px;
    }
    
    .entry-title a,
    .sidebar .widget-title a {
    	color: #333;
    }

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    August 19, 2015 at 11:28 am #162860
    tucacu
    Member

    Thank you!

    I finally made it by modifying the lines above those i pasted before, that are these:

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    color: #333;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
    }

    I deleted font-weight and line-height and the changes in font size worked. I don't know exactly why, I don't know much CSS.

    August 20, 2015 at 2:07 am #162964
    tucacu
    Member

    No! I was wrong, it isn't working.

    I examined the html code and the pages are using a style page that is named "...themes/executive-pro/style.css?ver=3.1.2'"

    This looks exactly like the original, without any of the changes I made to the original in "executive-pro/style.css"

    Somebody knows what is this 3.1.2 version and why I can't edit it??

    thanks!

    August 20, 2015 at 2:20 am #162965
    tucacu
    Member

    Solved!

    Sorry for the trouble.

    The changes were being made, but I couldn't see them in my browser because it was usinv the cached version of the style.css file. I deleted the cache in chrome and now I see the changes.

    🙂

    August 22, 2015 at 6:54 am #163132
    Davinder Singh Kainth
    Member

    Cool.


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

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

© 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