• 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

New eleven40pro theme – center header image

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 › New eleven40pro theme – center header image

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 13 years, 1 month ago by mikemahony.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 6, 2013 at 9:59 am #61089
    mikemahony
    Member

    Hi, I am trying to center the header image and using Chrome developer tools was able to find the CSS to change to make it center:

    .site-header .title-area {
    background: url(http://americanyouthhockey.com/wp-content/uploads/2013/09/HomeBanner.png) no-repeat center!important;
    }

    However I do not know where the CSS file is to modify for this. It seems to have been generated on the fly. You see, when I do inspect element I usually see the URL plus "style.css" and a line number. This just shows me the URL and a line number.

    The site is http://americanyouthhockey.com and I want to center the header up top. Where oh where is this CSS hiding?

    http://americanyouthhockey.com
    September 6, 2013 at 11:40 am #61112
    Brad Dalton
    Participant

    In your child themes style.css file.


    Tutorials for StudioPress Themes.

    September 6, 2013 at 1:34 pm #61133
    mikemahony
    Member

    Brad, thanks, but that's not correct. There are 3 references to .header-image .site-header .title-area in the child theme's styles.css file:

    .header-image .site-header .title-area {
    		background-position: center center !important;
    	}
    .genesis-nav-menu,
    	.site-header .title-area,
    	.site-header .search-form,
    	.site-header .widget-area,
    	.site-title {
    		text-align: center;
    	}
    .header-image .site-header .title-area {
    		background-size: contain !important;
    	}

    Not a one of these matches what I posted. As I said, Chrome Developer Tools ALWAYS references the file name and this time does not. It appears that this is generated on the fly which makes sense since you upload the banner graphic via the "header" section of the "Appearance" menu area.

    Anyone have an idea of where this will be found so I can change it?

    September 6, 2013 at 2:07 pm #61136
    mikemahony
    Member

    Thanks to Jennifer with CopyBlogger support this issue is resolved. All I had to do was add this to the Child theme's CSS:

    .site-container .site-header .title-area {
           background-position: center !important; 
    }
    

    It works like a charm!

  • 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