• 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

Font size for mobile view

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 › Font size for mobile view

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 7 years, 5 months ago by Erika.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 16, 2018 at 7:30 am #220885
    mat3d
    Member

    Hi everyone,

    I'm trying to increase the size of the font when the website is viewed on a mobile phone. I understand that I need to change the css code of the child theme (Media Queries) but so far my attempts have been unsuccessful.

    Any tips on how to get it right? I've searched this forum and read older threads but still can't find a solution.

    I'm running the latest version of Metro Pro and Genesis.

    Thanks

    Mat

    June 16, 2018 at 9:29 am #220887
    Erika
    Participant

    Hi Mat,

    Try:

    @media only screen and (max-width: 480px) {
    
    body > div {
    	font-size: 2rem;
    }
    
    }

    You can always change the font size and screen size of the media query if you want to include tablets.

    June 16, 2018 at 11:54 am #220889
    mat3d
    Member

    Hi Erika and thank you, your code is working.

    June 17, 2018 at 7:29 am #220906
    Erika
    Participant

    You're welcome!

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