• 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

Changing main color scheme of site in CSS

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 › Changing main color scheme of site in CSS

This topic is: not resolved

Tagged: color, css, customization

  • This topic has 5 replies, 3 voices, and was last updated 7 years, 1 month ago by Doug.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 11, 2018 at 6:50 pm #223679
    Doug
    Participant

    I’m trying to change the main color scheme of my site. From a black text on white background to white text on dark blue background.

    Line 162 of style.css
    Using Inspect, I’ve tested the color changes on all pages, by changing the ‘background-color’ and ‘color’ properties in the code below, which starts at line 162 of style.css.

    body {
    	background-color: #0079aa;
    	color: #ffffff;
    	font-family: 'Source Sans Pro', sans-serif;
    	font-size: 18px;
    	font-size: 1.8rem;
    	font-weight: 400;
    	line-height: 1.625;
    	margin: 0;
    }

    My question is, Shouldn’t I make these changes in the Customizing > Additional CSS area, instead of changing the style.css doc?

    And to do that, wouldn’t the correct code be as below?

    .body {
    background-color: #0079AA;
    color: #ffffff;
    }

    However, I’ve made those changes and nothing happened.

    I placed .body at the top of the Additional CSS window, but don’t think that would be an issue.

    Grateful for any input on this.

    http://eme.88b.myftpupload.com/
    October 12, 2018 at 5:43 am #223684
    AnitaC
    Keymaster

    You have.body. Remove the . property. It should only be body.


    Need help with customization or troubleshooting? Reach out to me.

    October 12, 2018 at 9:26 am #223691
    irened
    Participant

    Hi,
    I'm wondering if this worked? I have a very similar question, as a client wants to have a dark site with white font. And yes, should we put it in the
    additional CSS area?

    Also, if anyone else has done this, I'd love to see some samples. Thank you!

    October 12, 2018 at 12:13 pm #223701
    Doug
    Participant

    Thank you! That worked.

    I'm confused, though, because I used this to change the same keys of the footer.

    .footer-widgets {
    	background-color: #3d444c;
    	color: white;
    }

    Why would that require the "." but body doesn't? Body isn't a CSS Class?

    October 12, 2018 at 8:50 pm #223715
    AnitaC
    Keymaster

    Doug, I was referring to what you wrote in your code above. You wrote:

    And to do that, wouldn’t the correct code be as below?

    .body {
    background-color: #0079AA;
    color: #ffffff;
    }

    You have the dot (.) before body. Remove that and it should work.


    Need help with customization or troubleshooting? Reach out to me.

    October 13, 2018 at 5:40 pm #223727
    Doug
    Participant

    Thanks, Anita. Did that and it worked great!

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