• 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

I can't change font 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 › I can't change font SIZE

This topic is: resolved

Tagged: font size, News Pro

  • This topic has 7 replies, 3 voices, and was last updated 7 years, 9 months ago by Bwesole.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 15, 2017 at 11:16 am #210399
    glauco
    Member

    Hello!

    I use News Pro theme.

    I can use Google Fonts to change font FACE regularly, but a problem persists: no change in font SIZE.

    I try to change something here:

    body {
    	background-color: #f6f5f2;
    	color: #353535;
    	font-family: 'Merriweather', sans-serif;
    	font-size: 16px;
    	font-size: 1.6rem;
    	font-weight: 400;
    	line-height: 1.625;
    }

    What's the difference between "16px" and "1.6rem"? Anyway, I try changing both, but it still doesn't work. I have always the same font size, no matter I change those numbers to 5 or to 50.

    Please, what's the secret to change font size?

    Thank you.

    - Blog: gdamas.com
    - My browser: Chrome

    http://gdamas.com
    August 15, 2017 at 11:52 am #210404
    Victor Font
    Moderator

    You're probably just changing the font size in the wrong CSS class. Use your browser's inspect tool to see the CSS that affects the element you want changed. https://victorfont.com/how-to-use-your-browsers-inspect-tool/

    Also, Google rem vs. px to learn the difference between the different CSS dimensions.


    Regards,

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

    August 15, 2017 at 1:07 pm #210412
    glauco
    Member

    Thank you very much. Great article.

    Unfortunatelly, I still cannot change font size. Honestly, I don't understand WHY this must be so confusing. It's the first time in my life that I struggle with this -- a simple changing in font size.

    In the same place that I try to change font size, I change font face and it works well. So why not font size there too?

    It appears that there's something linked to a percentage (something with 62,5%). I don't know how safe it is to change that. Maybe it will be OK in my browser, but I'll be affraid of problems in Firefox, Safari, etc.

    Font size. A change. Just that. Hello, StudioPress.

    August 15, 2017 at 1:43 pm #210415
    Victor Font
    Moderator

    When you are working in rem units, 62.5% in the html tag equals 10px. 1.6 rems is the equivalent of 16px. Don't change the 62.5%. As I said earlier, you are probably changing the font on the wrong element. Please post a link to an example page and specify which element you want to change.


    Regards,

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

    August 15, 2017 at 5:17 pm #210426
    glauco
    Member

    Thank you very much.

    I've found the problem:

    /* Chrome fix */
    body > div {
    	font-size: 1.6rem;
    }

    Chrome, font size. And that's the browser I use (I have a Chromebook).

    It was set for 1.6. For Chrome only, I presume. I've changed that to 1.8rem, and now the font IS bigger. But here comes another question: is it safe to change that, considering other browsers like Safari, Firefox, etc.?

    August 16, 2017 at 5:54 am #210452
    Victor Font
    Moderator

    Is it safe? Probably. The code labeled as a Chrome fix will most likely be applied to all browsers. There's nothing Chrome specific in that code. That code is applying the font size globally to any div that falls within the page body.


    Regards,

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

    August 16, 2017 at 9:16 am #210465
    glauco
    Member

    I thank you a lot for your special attention!

    Have a nice day.

    September 25, 2017 at 6:07 am #211840
    Bwesole
    Member

    If you're still having issues with text size, Go to wp dashboard > background>additional css at bottom of drop down menu. The code to edit is in there.

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

© 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