• 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

Site header and page header showing color and image

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 › Site header and page header showing color and image

This topic is: resolved

Tagged: Centric theme, home page bg

  • This topic has 7 replies, 2 voices, and was last updated 7 years, 11 months ago by nutsandbolts.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • October 28, 2015 at 2:03 pm #169388
    BowArow2015
    Member

    In the Centric theme, I have a image set for home bg and set a color code for page title bg. It still wants to show a part of the image on desktop when scrolling and always a small bit on mobile rendering.

    Is there a way to ensure that area only shows the page title bg color on desktop and mobile? Thanks for any help or support, it is appreciated.

    http://poolservicesandiego.com/
    October 28, 2015 at 8:28 pm #169419
    nutsandbolts
    Member

    Since the background image was added in the customizer, it will override anything in your stylesheet. I'd suggest removing the image in the customizer, then adding it as a background for .home body in your CSS so it only applies to the homepage. You may also want to set the size to cover; on my widescreen monitor there is a lot of blue showing around the picture: https://cloudup.com/cNAwsI1Kc0g


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    October 28, 2015 at 8:51 pm #169425
    BowArow2015
    Member

    Thanks for that information nutsandbolts,

    Would you by chance want to help me with that image styling css (cover full width of screen) and where i put it. This practicing rookie thanks you for your time and knowledge.

    October 28, 2015 at 8:52 pm #169426
    nutsandbolts
    Member

    Can you remove the image from the customizer and provide the full image URL here? I'll see if I can get it to cooperate.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    October 28, 2015 at 8:55 pm #169428
    BowArow2015
    Member

    http://poolservicesandiego.com/wp-content/uploads/2015/10/bg-for-pssd-demo-e1445909665666.jpg

    October 28, 2015 at 9:00 pm #169429
    nutsandbolts
    Member

    Okay. Go into your stylesheet and find the heading for a section called Plugins. Above that heading on a line by itself, paste in this:

    .home-featured {
    	background: url("/wp-content/uploads/2015/10/bg-for-pssd-demo-e1445909665666.jpg") top center no-repeat;
    	background-size: cover;
    }

    Save your stylesheet. Once you do that, the background image should show up on your homepage only. However, on a page like About where there is no text, you may still see it peeking through (it should go away once you add content to the page).

    If you add it and something doesn't look right, leave the code in place and let me know - I'll be glad to take another look.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    October 28, 2015 at 9:22 pm #169431
    BowArow2015
    Member

    Not to sound goofy but your awesome. That seemed to work perfect. Thanks for your time and help. Have a good night.

    October 28, 2015 at 9:23 pm #169432
    nutsandbolts
    Member

    No problem! I’ve marked this topic as resolved for now, but feel free to open a new topic if you need help with anything else. 🙂


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

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