• 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 change the background color or text color in mobile version?

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 change the background color or text color in mobile version?

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 10 years, 10 months ago by Brad Dalton.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 25, 2015 at 9:19 am #166656
    Focused.1
    Participant

    Hello and thank you in advance for any insight and help.

    I am using the legacy theme.

    In the mobile version the white background of the pages is not displaying so the text is hard to read. I would either like to add the white background or change the text color on the mobile version.

    I am having trouble achieving this.

    What would you suggest as the best way to get the desired look?

    Thank you for your time!

    http://www.mondashaircare.com
    September 25, 2015 at 10:25 am #166664
    Brad Dalton
    Participant

    Look in your Media Queries at the end of your style.css file.

    Add this CSS to your existing Media Queries and change the value for max-width: 900px to the screen width you want the CSS rule to over ride the default.

    @media only screen and (max-width: 900px) {
    
        body {
    	    background-color: red;
    	    color: yellow;
    	    font-family: 'Lato', sans-serif;
    	    font-size: 18px;
    	    font-weight: 300;
    	    line-height: 1.625;
        }
    
    }
    

    Then you can change the values for any of the default properties in your rule.

    The above example changes the background color to red and the text color to yellow when the screen width reduces below 900px


    Tutorials for StudioPress Themes.

    September 25, 2015 at 12:43 pm #166671
    Focused.1
    Participant

    Thank you for your reply braddalton.

    This is changing the text color only for the text that is not styled inline. Everything else is left the color that I have styled it to.

    It is not changing the background color.

    I have an image set as the background. The look I am going for is the same as it is seen on a desktop with the pages having a white background over the top of my background image.

    Am I doing something wrong?

    Thank you for your time.

    September 25, 2015 at 1:14 pm #166674
    Brad Dalton
    Participant

    Change the CSS to anything you like.

    It's simply an example of how to change the CSS at specific screen sizes.

    http://www.w3schools.com/cssref/pr_background-color.asp


    Tutorials for StudioPress Themes.

  • 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

© 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