• 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

Altitude Theme – 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 › General Discussion › Altitude Theme – Header Image

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 9 years, 7 months ago by nhlennox.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 24, 2015 at 6:13 pm #168938
    nhlennox
    Member

    I'm having trouble getting my header image to work on web and mobile. The pixel size is 360 x 76. On the web, I want the logo to be flush with the left side of the page, but when I do that, it is not centered in the 360 x 76 size space and on mobile, it is way too left and not centered. It seems to work fine in the demo. Any suggestions?

    http://www.greenbanc.com
    October 24, 2015 at 6:32 pm #168939
    nhlennox
    Member

    Also, the image is larger on the first page and then scrolling makes it smaller. Ideally, I'd like the smaller image to be maintained throughout. Centered for mobile.

    October 26, 2015 at 7:03 am #169028
    Jonathan
    Member

    The Altitude theme demo is setup using site header text instead of a header image. If you logo font is a web based font, you can use the site header text and change the font family, or I've used the following to left-align the header image and center on mobile:
    Create a header image at 360 x 76 and center the logo in the image file.
    For desktops use a negative left margin to left align the logo:

    
    .header-image .site-title > a {
        margin: 0px 0px 0px -50px;
    }
    

    For mobile devices, remove the negative margin in the media query
    Add the following to the header image css class:

    
    @media only screen and (max-width: 1023px)
    	.header-image .site-title > a {
    		background-position: center !important;
    		margin: 0;
    	}
    

    This is one way to achieve the left-align and centered header image look. Another option is to change the header image size in the theme function file and then align the image as needed using media queries.

    Altitude changes the header size when scrolling by appending the css class with .dark. You can modify the .header-image .site-title > a height to 56px to match the scrolling height. You'll need to add padding to the .site-title class as needed to fix the image placement.


    Husband, proud father of 3, maker and a car guy
    WordPress Maintenance & Support | Get #WordPress and #GenesisWP help at WPMgmt.co

    October 26, 2015 at 2:00 pm #169104
    nhlennox
    Member

    Great! Thank you.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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