• 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

Chane page color

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 › Chane page color

This topic is: resolved

Tagged: background, css, magazine

  • This topic has 13 replies, 3 voices, and was last updated 9 years, 4 months ago by faiekg.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • May 5, 2014 at 3:02 am #103671
    faiekg
    Member

    Also how does one change the background color of your pages ? (magazine pro theme) I want a more gray that the white but not the complete page , I want just the content area to be grey and the background remain white (much like how this forum page is displayed actually)

    Many Thanks

    May 5, 2014 at 1:16 pm #103734
    emasai
    Participant

    You need to edit the css and and html tag that you want to change. If you want a different color for different pages then you need to target the page id too.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    May 6, 2014 at 4:52 am #103816
    faiekg
    Member

    Okay so what do I look for ? I want all the pages content block one color so there would be no need for individual page id's. I cant though find the css for the page content color ?

    May 6, 2014 at 5:31 am #103818
    faiekg
    Member

    Okay I found the css ! added the background line.

    .content {
    float: right;
    width: 750px;
    background-color:#999

    May 6, 2014 at 5:39 am #103819
    faiekg
    Member

    Now I need to figure out how to make the background color slightly bigger than the content area ? About 5-10px bigger just to make it look a little neater as currently it looks a little akward. I think its a matter a adding some padding , just need to figure out where.

    May 6, 2014 at 8:33 pm #103976
    Tom
    Participant

    How do you make a color bigger? Please provide a link to your site so we can see what you see.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    May 7, 2014 at 4:33 am #104031
    faiekg
    Member

    I want to make the content background area in grey slightly bigger. Much like this post and forums background.

    http://faga.co.za/about-us/background/

    May 7, 2014 at 4:37 am #104033
    faiekg
    Member

    Sorry the site is not live yet and you will need to log in , I created a temp username for this purpose , please log in with the below

    username - genesis
    password - genesis

    Thanks

    May 7, 2014 at 10:11 am #104065
    Tom
    Participant

    This CSS will do what I think you are asking for.

    .content{
    	padding: 20px;
    }

    You might want to reconsider using the Background Manager plugin as it is deprecated - no longer supported and potentially vulnerable to developing security issues for your client. This may (or may not) be what is leaving odd PHP statements in your HTML output, like this:
    <!--?php if (!is_home() ) { ?-->. This might also be remaindered from some code changes you have made.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    May 9, 2014 at 12:20 am #104259
    faiekg
    Member

    Thanks , I toyed around with the background manager plugin a bit but I uninstalled it , the code might have been left behind though. The code did not work sadly though , or I am putting in in the wrong place ?

    May 9, 2014 at 12:26 am #104260
    Tom
    Participant

    You have mis-typed the code as follows - a colon is required after "padding":

    .content {
    	padding 20px;
    	float: right;
            width: 750px;
    	background-color:#f4f4ec;
                    
    }

    Background manager is clearly still installed on your site. It loads 3 scripts and 1 stylesheet.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    May 10, 2014 at 5:30 pm #104480
    faiekg
    Member

    Thanks , you were right , I uninstalled the background manager. However the code is still not working for some reason ? Im a little stuck on this , what am I missing ?

    /* Content */

    .content {
    padding 20px;
    float: right;
    width: 750px;
    background-color:#f4f4ec;

    }

    May 11, 2014 at 12:14 am #104508
    Tom
    Participant

    You had mistyped padding 20px;

    It must be as shown: padding: 20px;


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    May 11, 2014 at 4:11 am #104515
    faiekg
    Member

    THANKS !!!! THAT WORKED !!!! So happy now , only issue is that it does not show yet on chrome but I am not too stressed about it , checked other browsers and it works , think I need to remove cached version on chrome or something like that.

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Chane page color’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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