• Resolved pcjc1999

    (@pcjc1999)


    Trying to change the font size for the blog post titles – the site is http://climbingthefinancialmountain.com/

    There are blog posts, which have not been published yet, but here is what the code looks like for that section
    <header class=”entry-header”>
    <h1 class=”entry-title”>The Financial Boom</h1>

     
    <h3><p>Here is my subtitle</p></h3>
    </header><!– .entry-header –>

    I have tried editing the above section in style.css for entry-header and the font size will not change from where it is at.

    The pages that are currently published on it are fine – I just need to change the actual blog posts’ title font size.

    Here is what I have edited under ‘main content and comment content’

    .entry-header .entry-title {
    font-size: 28px;
    font-size: 1.75rem;
    line-height: 1.8;
    font-weight: normal;
    }

    The font on the post title is definitely not 28px however.

    Any help on this would be greatly appreciated –

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • WPyogi

    (@wpyogi)

    You should not be modifying theme files – especially in the default theme – your changes will be overwritten and lost when WP is updated and it’s also crucial to have a clean copy of the default theme for troubleshooting purposes.

    You’ll need to make a Child Theme for custom work –
    http://codex.wordpress.org/Child_Themes

    Thread Starter pcjc1999

    (@pcjc1999)

    Oh wow, did not realize that.

    Ok, so create a simple Child Theme and then can I just insert this code

    .entry-header .entry-title {
    font-size: 28px;
    font-size: 1.75rem;
    line-height: 1.8;
    font-weight: normal;
    }

    or an even simpler h1 font code?

    Thanks – this is VERY helpful!

    WPyogi

    (@wpyogi)

    Twenty twelve is a bit tricky because it’s mobile first – so changes for regular screens need to be inside a media query – look at line 1350 on the style.css file to see how those work.

    And yes, you definitely want to make a child theme – you’ll need to move any changes you made to the child theme and redo options and settings in the child theme too – they won’t transfer over. I know that seems like a pain now, but you REALLY don’t want to modify the default theme :).

    Thread Starter pcjc1999

    (@pcjc1999)

    Ok, thank you for the help – so glad I asked!

    WPyogi

    (@wpyogi)

    You’re welcome – me too – so much better to discover it now than down the road when you have a lot more to redo or worse :)!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Edits to CSS for font size not showing up’ is closed to new replies.