• 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

Custom Page background

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 › Custom Page background

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 12 years, 6 months ago by Williamz0.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 11, 2013 at 2:38 am #61854
    Williamz0
    Member

    I an currently editing the Executive Theme and would like all Post pages to have a grey background ( #f2f2f2) in that left hand section of the page. The rest of the page background is set to be white via the CSS.

    New to this so I am not sure if I can do this by adding a custom class into each post page in the "Custom Body Class" field?

    Can anyone help please?

    http://www.hh-wordpress.co.uk/vls/?p=69
    September 11, 2013 at 7:19 am #61911
    David Chu
    Participant

    Hi,
    You can indeed use a class right on a Post/Page. Then you need to write CSS that will connect to that, so to speak. That's very specific, though. If you want to get all Posts to have that left background, you can do a single command, like so. This would go in style.css. Appearance.... Edit, and there you are.

    .single-post #content {
      background-color: #f2f2f2;
    }
    

    If you look at the source on that page, you will see the single-post bit on the BODY, and then the content ID is further down. I'm not sure if that will give you what you want, but it's a start.

    Hope that helps, and please excuse the funny spelling of colour. ๐Ÿ˜‰

    Ciao,
    Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

    September 11, 2013 at 10:27 am #61950
    Williamz0
    Member

    Hi Dave - that worked a charm, thank you so much!!

    Can I be cheeky and ask if you can look at this one too?

    Comments box

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