• 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

Adding a background color to one page of Agency Pro theme

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 › Adding a background color to one page of Agency Pro theme

This topic is: not resolved

Tagged: agency pro, page id

  • This topic has 4 replies, 3 voices, and was last updated 11 years, 1 month ago by Genesis Developer.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 22, 2014 at 11:28 am #128773
    CJWheels
    Member

    Using WooCommerce. I want to put a background on the: .full-width-content .content { for the shop page only

    Why doesn't this code in the css work:

    .page-id-1410 .full-width-content .content {
    background: #fff;
    padding: 40px;
    }

    The shop page is 1410. I know I'm missing something easy...just can't figure it out.

    Thx
    Cynthia

    http://nwdesignsit.com/shop/
    October 22, 2014 at 11:37 am #128776
    Genesis Developer
    Member

    try this

    .page-id-1410.full-width-content .content {
       background: #fff;
       padding: 40px;
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    October 22, 2014 at 12:24 pm #128778
    CJWheels
    Member

    Still not working:

    Shop

    C

    October 25, 2014 at 8:57 pm #129218
    Tom
    Participant

    The page may be ID=1410, but that data is not present in the HTML for a CSS selector to hook into. Right now you have this to choose from - and nothing is really unique:
    body class="archive post-type-archive post-type-archive-product custom-background woocommerce woocommerce-page custom-header header-image full-width-content"

    You could try adding a custom body class in the template file, or perhaps this will work for you:

    .full-width-content .content {
       background: #fff;
       padding: 40px;
    }

    PS: Let me know when the shop is live and I'll add the Genesis themes to my catalogue site (see my .sig)


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

    October 25, 2014 at 9:27 pm #129225
    Genesis Developer
    Member

    you can try this way also

    .woocommerce.full-width-content .content {
       background: #fff;
       padding: 40px;
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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