• 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

Agency Pro – different background on each page

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 › Agency Pro – different background on each page

This topic is: not resolved

Tagged: agency pro, background, inside pages

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 5 months ago by linlan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 30, 2015 at 12:29 am #167019
    linlan
    Participant

    I'm working with a client that wants a different background image on each page. Some of the pages are working fine but a couple of others are not.

    Example of background working correctly - http://etta.linlanconsulting.com/why-ettamorphosis/

    This is the CSS code I used for it:

    .page-id-8 {
    	background-image: url(http://etta.linlanconsulting.com/wp-content/uploads/2015/09/antiquewallpaper_70.jpg);
    	background-size: contain;
    }

    Page that is not working correctly - http://etta.linlanconsulting.com/connection-to-heart-and-soul/get-a-piece-by-etta/

    Code used:

    .page-id-276 {
    	background-image: url(http://etta.linlanconsulting.com/wp-content/uploads/2015/09/table.jpg);
    	background-size: contain;
    }

    I've used both cover and contain on the background-size and neither will use the full-size image. I'm hoping someone here can help me find what I am missing to get this to work.

    Thanks!

    September 30, 2015 at 4:49 am #167029
    Brad Dalton
    Participant

    I would use a plugin for this like Background Manager


    Tutorials for StudioPress Themes.

    September 30, 2015 at 12:24 pm #167065
    linlan
    Participant

    That looks like it rotates between a set of images. But I did find another plugin that would work. I wasn't even thinking about using a plugin. Thanks for the idea!

  • 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

© 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