• 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

Full screen background 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 › Full screen background image

This topic is: not resolved
  • This topic has 4 replies, 2 voices, and was last updated 10 years, 11 months ago by sinoun.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 3, 2015 at 4:13 pm #150042
    sinoun
    Member

    I am using Altitude theme and was wondering if there was a way to make a page with a full screen background. To be specific, I'm looking to create something similar to the first part of the homepage, where there is a full screen image and text inside. This would be a nice touch for a landing page. Anyone have any suggestions or advice on how to go about doing something like this?

    Thanks!

    May 5, 2015 at 3:38 am #150179
    CleanPageDom
    Participant

    Hi there

    You can certainly put a full-screen background behind a landing page. Are you OK with editing the CSS of your site?

    If so, you'll need to prepare the full-screen image (this link has a lot of good information about selecting the image size - I tend to go with 1920 x 1080, so long as you can get it small enough in file size).

    Upload the image to either your theme's Images folder, or to the Media Library, then, in your style.css file, you'll need to specify the page and add the image as a background, like this:

    body.page-id-X {
    background: url(images/filepath.jpg OR http://www.siteaddress.com/wp-content/etc etc) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    }

    See this CSS Tricks article for more about the background-size etc properties.

    You can find the page-id by viewing the source of the page and doing a Find for "page-id". Or you could add a specific body class in the Genesis options on the page editor, in which case you would add body.mybodyclass { /*CSS*/ }

    Hope that makes sense.

    Thanks
    Dom


    Let’s build a website together…

    May 5, 2015 at 11:45 am #150245
    sinoun
    Member

    Thank you so much for this! It worked great, but how do I make the main body where the text is transparent? Right now it's at it's default white: http://shiftwebsolutions.com/test-2/

    May 5, 2015 at 2:13 pm #150279
    CleanPageDom
    Participant

    OK, cool . Glad it worked. Nice image, BTW.

    To target the white background, you're looking at .site-inner:. You've got a number of decisions to make.

    So, you could go:

    body.page-id-6045 .site-inner { 
    background: transparent;
    }

    And then make the body text color white (body.page-id-6045 { color: #fff; })

    But then you can't really read the text over the background image.

    Another solution would be to add opacity to a white background:

    body.page-id-6045 .site-inner {
    background: rgba(255, 255, 255, 0.7);
    }

    NB: "255, 255, 255" is the RGB settings for white (you can use Devoth's Hex to RGB converter to find any RGB color value). The 0.7 is the opacity - 0 is transparent, 1 is full color.

    If you opt for a background color of some sort, I'd be tempted to add some top padding and a small border radius to the .site-inner:

    body.page-id-6045 .site-inner {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    padding-top: 40px;
    padding-top: 4rem;
    }

    Thanks
    Dom


    Let’s build a website together…

    May 6, 2015 at 5:35 pm #150503
    sinoun
    Member

    Thank you so much! This worked great. I should have mentioned I tried the background: transparent and background rgba, but it didn't work for me. The .site-inner addition is what made it work. Thanks! 🙂

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