executive theme navigation question

Community Forums Forums Design Tips and Tricks executive theme navigation question

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by  delight 10 months, 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #44232

    delight
    Participant
    Post count: 7

    http://pixelpiestudios.com/

    On my site I want to get the nav down in line with my logo, but cant tell which part of the css i can change to move it.

    Also, I wanted to put a custom background with 100% width thru the middle part, but cant tell where I can add that either in the css.

     

    http://pixelpiestudios.com/
    #44233

    sangfroidweb
    Participant
    Post count: 36

    Hi!
    One way to approach this (centering the menu text vertically with the logo) is to set the line height for the top level menu items (only) to be equal with the height of the logo by adding a line like this:

    #header .menu > li > a {
    line-height: 108px;
    }

    For adding the custom background, do you mean you want to add it in the header?…I wasn’t sure what you meant by ‘thru the middle part’.

    thx! Liz


    Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com :)

    #44473

    delight
    Participant
    Post count: 7

    No, not the header but the content area, the area between the header and footer.

     

    thanks.

    #44664

    delight
    Participant
    Post count: 7

    Hi,

     

    thanks, changing the line height worked, now I need to center the entire thing, where can I do that?

     

    #44706

    sangfroidweb
    Participant
    Post count: 36

    Whoa…I think I need to rethink the line-height advice! When you select one of the regular navigation items, it’s crazy tall and hoses the navigation layout. Let me see if I can think of another way to do it….maybe someone else has an idea.


    Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com :)

    #44707

    sangfroidweb
    Participant
    Post count: 36

    As far as centering the menu horizontally, I would try setting the navigation ul to display:inline-block; and set the text-align on it’s parent container (or some ancestor) to center. This wouldn’t be foolproof in every browser, but would work in most.


    Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com :)

    #44710

    delight
    Participant
    Post count: 7

    ok, well let me ask you this, I added an image to a menu item to get that imaged in the center of my nav, maybe there is a better way to do that all together than adding an image to a menu item?

    Thanks.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.