• 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

Change background Image on one page – Expose 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 › Design Tips and Tricks › Change background Image on one page – Expose Theme

This topic is: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 12 years, 6 months ago by Marcy.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 1, 2013 at 7:39 am #64932
    tigaruk
    Member

    I want to change the background image used on just one page.

    I've already tried

    if(is_page(5621)){
    background:url(http://kyandiicards.com/wp-content/uploads/2013/07/background-174x300.gif);
    }

    But that does nothing even though it should work. Even plugins are failing to work to change the background for a certain page.

    Thanks

    http://kyandiicards.com/fuzzballs
    October 1, 2013 at 11:22 am #64958
    Marcy
    Participant

    You have to tell it which selector to use for the background image. You can do this in your style.css

    Right now you have a section that I think was created when you uploaded a custom background in your WordPress Dashboard or Theme Customization.

    body.custom-background {
        background-attachment: scroll;
        background-color: #F4F1E9;
        background-image: url("http://kyandiicards.com/wp-content/uploads/2012/06/background.gif");
        background-position: left top;
        background-repeat: repeat;
    }

    You can add a new selector for the page id you want in your style.css or in a Custom CSS plugin:

    body.page-id-5621 {
         background: #f4f1e9 url(http://kyandiicards.com/wp-content/uploads/2013/07/background-174?—300.gif) top left repeat !important;
    }

    I think you will need the !important to override the custom background.


    Marcy | Amethyst Website Design | Twitter

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