• 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

Centering header image above nav?

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 › Centering header image above nav?

This topic is: resolved

Tagged: Center Header Image

  • This topic has 8 replies, 2 voices, and was last updated 12 years, 1 month ago by dwaynekilbourne.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • October 26, 2013 at 5:54 am #69059
    dwaynekilbourne
    Member

    Ladies and gents,

    I changed the color of the background of this hobby site using the tools directly in WordPress (Appearance ===> Background) Now, the image that I have loaded as the header is aligned left when I pull it up via Chrome (although, the background color change does NOT show up when opening in FireFox).

    1. So, how can I best center the header image so that it properly centers above the nav?

    2. Show I be using the background color change function built-in to WordPress or strictly CSS? I want to be sure that everything shows across ALL browsers unlike how it does right now.

    Site in question = http://rollercoastermedialibrary.com/


    Dwayne Kilbourne
    Founder, Killer Konceptz

    http://rollercoastermedialibrary.com/
    October 26, 2013 at 6:20 am #69065
    AnitaC
    Keymaster

    I see this fine in Firefox and Chrome so you must have worked this out. If so, can you be kind enough to mark it resolved. Thanks.


    Need help with customization or troubleshooting? Reach out to me.

    October 26, 2013 at 7:38 am #69074
    dwaynekilbourne
    Member

    not resolved on my screen... color is okay, but the white header is left aligned when it should be centered. Thoughts?


    Dwayne Kilbourne
    Founder, Killer Konceptz

    October 26, 2013 at 8:19 am #69086
    AnitaC
    Keymaster

    One reason it might not be centered for you is that you have the Search box in Header Right. If you remove that - the entire header should center.


    Need help with customization or troubleshooting? Reach out to me.

    October 26, 2013 at 8:26 am #69090
    dwaynekilbourne
    Member

    Removed header-right search, and that still did not do anything. The CSS code for the header right merely places it on the page and does not appear to affect the actual header graphic.

    I'm guessing that I'm missing some code near the header-image part of the style.php


    Dwayne Kilbourne
    Founder, Killer Konceptz

    October 26, 2013 at 8:31 am #69093
    AnitaC
    Keymaster

    Using Firebug, it now appears that you don't have a left margin in there.


    Need help with customization or troubleshooting? Reach out to me.

    October 27, 2013 at 6:11 am #69210
    dwaynekilbourne
    Member

    I guess that it was never in there. Let me see what it shows for the navigation, and then I will try to implement the same code for the header!


    Dwayne Kilbourne
    Founder, Killer Konceptz

    October 27, 2013 at 6:49 am #69218
    dwaynekilbourne
    Member

    still missing something... played around with margin and padding... here is my CSS for the header area...

    /* Header
    ------------------------------------------------------------ */

    #header {
    background-position: top center !important;
    background-color: #111;
    min-height: 120px;
    overflow: hidden;
    width: 100%;
    }

    #title-area {
    float: left;
    margin: 32px 0 0;
    width: 25%;
    }

    #title {
    font-family: 'Lato', sans-serif;
    font-size: 42px;
    font-weight: normal;
    line-height: 1.25;
    margin: 0;
    text-transform: uppercase;
    }

    #title a,
    #title a:hover {
    color: #fff;
    text-decoration: none;
    }

    .header-image #title-area,
    .header-image #title,
    .header-image #title a {
    display: block;
    float: left;
    height: 120px;
    overflow: hidden;
    text-indent: -9999px;
    }

    .header-image #title-area {
    margin: 0;
    width: 25%;
    }

    .header-full-width #title-area,
    .header-full-width #title,
    .header-full-width #title a,
    .header-image #title,
    .header-image #title a {
    width: 100%;
    }

    #description {
    color: #fff;
    font-size: 16px;
    }

    .header-image #description {
    display: block;
    overflow: hidden;
    }

    #header .widget-area {
    float: right;
    width: 75%;
    }


    Dwayne Kilbourne
    Founder, Killer Konceptz

    November 2, 2013 at 3:16 pm #70562
    dwaynekilbourne
    Member

    Still no luck with it. I am going to take a break from it for a few hours and then look at it with fresh eyes - maybe after the extra sleep from changing of the clocks this evening!


    Dwayne Kilbourne
    Founder, Killer Konceptz

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