• 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

Custom Background image Cover without backstretch

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 › Custom Background image Cover without backstretch

This topic is: not resolved

Tagged: custom background image

  • This topic has 4 replies, 3 voices, and was last updated 10 years ago by AlbertoPE.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 7, 2016 at 3:40 am #180793
    AlbertoPE
    Member

    Is there a way to use a custom background image size-cover wihout using backstretch, only css, in minimum pro or similar? (i-m creating from genesis sample).
    I only find the way to add in style.css (but i think there must be an optim way):

    .custom-background{
    background-size: cover;
    }

    Thanks!

    March 7, 2016 at 4:14 pm #180831
    ᴅᴀᴠɪᴅ
    Member

    yeh that's right, but you probably want to add a few more things to stop it stretching out and ensuring it looks good on mobiles..

    .custom-background {
        background-attachment: fixed;
        background-image: url("//demo.studiopress.com/minimum/files/2014/04/bg.jpg");
        background-position: center;
        background-size: cover;
    }

    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    March 8, 2016 at 4:27 am #180895
    AlbertoPE
    Member

    Thanks, I used only cover because I want to update the custom image from admin options, and when you add custom background support, in the inspector I don´t see the cover option, all the rest may be selected with customize options.

    April 12, 2016 at 7:37 am #183439
    tswilson99
    Member

    So how would one do this for all post and page headers on their site? What is the css to tell theme to use the featured image without backstretch? As well as no backstretch on Home Page header too.

    Thanks,
    Tracy

    April 21, 2016 at 10:39 am #184089
    AlbertoPE
    Member

    ¿Are you referring to do something like that?

    Add a Full Width Responsive Header Image to a Genesis Theme

  • 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

© 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