• 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

Horizontally center logo in responsive design

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 › Horizontally center logo in responsive design

This topic is: not resolved

Tagged: Executive, Logo, navigation, responsive

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 3 months ago by stefaanoyen.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 23, 2013 at 1:39 pm #14103
    stefaanoyen
    Member

    Hi there,

    I'm building a new site with the responsive Executive theme: http://www.jandeboeck.be

    Everything looks great when I reduce the width, except the logo. It collides with the navigation and is aligned left. How do I center it horizontally when it's above the navigation and how do I prevent it from colliding with my navigation?

    Any help is much appreciated!

    Stefaan

    January 23, 2013 at 7:28 pm #14212
    SoZo
    Member

    You'd need to add a new #header rule for the responsive sections with a different background image.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 26, 2013 at 2:00 pm #15053
    stefaanoyen
    Member

    Hi there SoZo,

    I'm not that good at CSS, I guess... I tried, but it didn't work that well.

    Essentially I just need the logo to be horizontally centered and positioned above the navigation as soon as the screen is too small to have them both next to each other. That's when the screen is smaller than 1.200 pixels.

    Could you indicate what the CSS should be? I know I have to put it under the '@media only screen and (max-width: 1200px)', but I don't know what to put there. Thanks for helping a newbie out!

    Stefaan

    PS I just visited your site and I'm impressed with your work. Congrats!

  • 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