• 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 Logo and Navigation Menu in Executive Theme

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 › Centering Logo and Navigation Menu in Executive Theme

This topic is: not resolved

Tagged: center, executive pro, header, Logo, menu, navigation

  • This topic has 5 replies, 4 voices, and was last updated 12 years, 2 months ago by Brad Dalton.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 19, 2014 at 2:33 pm #110643
    franktirado
    Member

    Hello everyone,

    I'd like to center the logo and navigation menu on the URL listed below. I am using the Executive Pro Child theme on this site.

    What changes in the CSS do I need to make to do it?

    http://www.imagesbysbx.com
    June 19, 2014 at 2:43 pm #110647
    Lauren @ OnceCoupled
    Member

    To center your logo, add positioning the background image, as seen in the altered code below. Note that because your image is 1140 x 100px, you'd need to decrease that to the actual size of the image you want centered. Otherwise, you would just edit the graphic and center the logo in it.

    #header {
         background: url(http://imagesbysbx.com/wp-content/uploads/2014/06/SBXheader22.jpg) no-repeat center center !important;
    }

    For your navigation, you could do: #nav { text-align: center; } while changing: .menu-primary li, .menu-secondary li, #header .menu li { display: inline-block; } removing float: left;.


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    June 19, 2014 at 2:44 pm #110648
    JanHoek
    Participant

    Have you read his post? http://www.studiopress.community/topic/how-do-you-design-a-header-like-this/


    Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.

    June 19, 2014 at 3:12 pm #110653
    franktirado
    Member

    I'm having trouble because I'm a bit of a moron when it comes to CSS.

    I made the logo smaller.

    But I'm not sure where I'm supposed to place the "#header" code.

    Also, I tried the code for the navigation you (Lauren) posted and it didn't work.

    I'm very sure that I'm doing something wrong or missing a step. Please help. lol

    June 19, 2014 at 4:51 pm #110664
    Lauren @ OnceCoupled
    Member

    Menu: I'm not seeing the CSS changes you've made. Do you have caching set up that might be keeping your CSS updates from propagating?

    Logo: Good point, that CSS isn't in your style.css file, huh? I'm not sure where that line is. How are you uploading/changing your logo image?


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    August 14, 2014 at 2:16 am #118726
    Brad Dalton
    Participant

    Try this as it also includes the code to center the menu


    Tutorials for StudioPress Themes.

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

© 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