• 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

Responsive Full Width Header in AgentPress Pro

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 › Responsive Full Width Header in AgentPress Pro

This topic is: not resolved

Tagged: Agentpress Pro, full width header

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 2 months ago by doire.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 26, 2017 at 11:58 pm #202052
    doire
    Participant

    I've added a full width header to my AgentPress pro theme, using the tutorial here: http://wpsites.net/web-design/add-full-width-header-image-to-executive-pro-theme/.

    The problem I have is the height of the site-title, it is fixed at 214 px. So, although the width of the image adjusts to fit screen size, the height doesn't, leaving a large area of white space below the image. Any help is greatly appreciated.

    http://colsonyachtdesign.com.au/test/
    February 27, 2017 at 12:06 am #202053
    Brad Dalton
    Participant

    If you inspect the white space you'll see the following CSS rule which adds 50px.
    Thats causing the white space.

    .home-featured .wrap {
    	position: relative;
    	padding: 50px 0 0;
    }
    

    Also, the header image doesn't display full width of screen because its limited to a max width of 1280px which you can change to none:

    .wrap {
        margin: 0 auto;
        max-width: 1280px;
    }
    <?pre>
    

    Tutorials for StudioPress Themes.

    February 27, 2017 at 2:39 am #202057
    doire
    Participant

    Thanks for the quick reply Brad, but I think I was unclear in my original message.

    The image is not full width above 1280 px, so the max-width setting is ok.

    However, when I said white space, I wasn't referring to the padding, it's the background of the title-area div (and the space isn't white as you can see from the image).

    Do you have any other suggestions?

    Thanks

    .header-image .title-area, .header-image .site-title, .header-image .site-title a {
        display: inline-block;
        float: left;
        margin: 0;
        max-width: 1280px;
        min-height: 214px;
        padding: 0;
        width: 100%;

    Screenshot of title-area

    February 27, 2017 at 3:00 am #202060
    doire
    Participant

    Thanks for the quick reply Brad, but I think I was unclear in my original message.

    The image is not full width above 1280 px, so the max-width setting is ok.

    However, when I said white space, I wasn't referring to the padding, it's the background of the title-area div (and the space isn't white as you can see from the image).

    Do you have any other suggestions?

    Thanks

    .header-image .title-area, .header-image .site-title, .header-image .site-title a {
        display: inline-block;
        float: left;
        margin: 0;
        max-width: 1280px;
        min-height: 214px;
        padding: 0;
        width: 100%;

    Screenshot of site-title

    (Having trouble posting this, please accept my apologies if it's come through a few times.)

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