• 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

Genesis sample header cut off at top and bottom

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 › Genesis sample header cut off at top and bottom

This topic is: resolved

Tagged: genesis sample header cutoff background position css center media query

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 10 months ago by ceah.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 1, 2014 at 1:44 pm #122263
    ceah
    Member

    Hi,

    I am modifying the Genesis sample theme. I made the header responsive by using this code:

    .site-header {
    background-image: url(/wp/wp-content/uploads/2014/09/header.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 100%;
    }

    My header has a thin strip of gray at the top and a thin strip of green at the bottom. They are both cut off. I see that when I change the background position to top center, then the top strip will show. And when I change the background position to top bottom, the bottom strip will show. Well how do I get the entire header to show without cutting off the top or bottom?

    Also, I changed the media query max-width from 960px to 9960px just so my dynamic text site title will stay centered. Was this the best way to go about this?

    Thanks

    September 1, 2014 at 1:55 pm #122265
    ceah
    Member

    Well I can see now that as I resize the window, the image starts to stretch and and get bigger and the top and bottom "grow" out of the area. Should I have more that one background header to use for different sizes.

    September 1, 2014 at 2:48 pm #122273
    Brad Dalton
    Participant

    Try this http://wpsites.net/web-design/add-header-image-logo-to-genesis-2-0-sample-theme/


    Tutorials for StudioPress Themes.

    September 1, 2014 at 5:38 pm #122294
    ceah
    Member

    Oh, you've got the skills Brad! It worked, thanks to your directions. Thanks so much!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Genesis sample header cut off at top and bottom’ is closed to new 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