• 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 Width Header – Daily Dish

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 Width Header – Daily Dish

This topic is: not resolved

Tagged: Daily Dish, full width header

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 4 months ago by Emma1202.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 25, 2016 at 11:22 pm #177524
    Emma1202
    Participant

    I am trying to set up a full size header for this site http://georgebrushlaw.wpengine.com/ in order to replicate this html site (http://georgebrush.net/index.shtml) in on the wordpress platform.

    I changed the CSS to

    .header-image .site-title > a {
    background-position: center !important;
    background-size: contain !important;
    display: block;
    height: 206px;
    margin: 0 auto;
    max-width: 1200px;
    }

    And I changed the function php file to this

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    'header-selector' => '.site-title a',
    'header-text' => false,
    'height' => 206,
    'width' => 1200,
    ) );

    I removed the .site header 80px padding to eliminate most of the padding at the top and bottom, but when I tried to remove the little bit of padding left by removing "contain !important;" in the section below, I eliminated the side padding but I also lost the mobile responsiveness.

    .header-image .site-title > a {
    background-position: center !important;
    background-size: contain !important;
    display: block;
    height: 206px;
    margin: 0 auto;
    max-width: 1200px;

    So my first question is: Cann I remove the last bit of padding without loosing the mobile responsive header?

    Second, I didn't achieve full width. Did I miss a step?

    Thank you so much.

    http://georgebrushlaw.wpengine.com/
    January 26, 2016 at 5:10 am #177534
    Victor Font
    Moderator

    Full-width means max-width: 100%;, not 1200px. The reason the image is bound to 1080px is due to the .site-container margins. You have a 60px left and right margin for .site-container. This only leaves 1080px to display the header image.

    If I may make a suggestion, for SEO purposes, it would be better to use text wrapped in schema.org markup rather that a header image. Search engines can't index the text on an image.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 26, 2016 at 11:23 am #177577
    Emma1202
    Participant

    Thanks! That explains it.

    And thank you for your suggestion about SEO. To be honest wrapping the text in schema.org markup and aligning the images side by side to recreate the original header is above my pay-grade skills wise. I know it would be better, but I wouldn't know how to do that I'm afraid.

    Regarding the Header and the navigation bar going 1200px across, is there a way to accomplish that?

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

© 2025 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