• 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

Different Header Image on Mobile – trying to center it

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 › Different Header Image on Mobile – trying to center it

This topic is: resolved

Tagged: header image, mobile

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 5 months ago by hmistler.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 9, 2016 at 12:31 pm #197360
    hmistler
    Member

    Hi there - I have figured out how to display a different Header Image when the site is scaled down to Mobile size, but I can't figure out how to center it! If I deactivate this new Header Image, the old one displays and it's perfectly centered, but this new image is displaying on the left side of the screen. You can see what I mean here if you scale the page down. If anyone has a suggestion on how to get this new image to display centered, I'm all ears!

    http://74.220.219.70/~mossandb/
    December 9, 2016 at 1:21 pm #197361
    emasai
    Participant

    Change the following to 50%

    @media only screen and (max-width: 1023px)
    .header-image .site-title > a {
        background-position: top !important;
        background: transparent url(http://74.220.219.70/~mossandb/wp-content/uploads/2016/12/MB_logo_blue.png) no-repeat scroll 50% 0 !important;
    }

    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    December 9, 2016 at 2:24 pm #197370
    hmistler
    Member

    Perfect, thanks a million!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Different Header Image on Mobile – trying to center it’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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