• zeaks

    (@zeaks)


    I can’t for the life of me figure out how to properly center the navigation menu in Twenty Eleven (using a child theme) when using the single column layout, text in header turned off. (this causes the search to move to the menu)And with the search hidden.

    I’ve used

    #searchform { visibility: hidden; }
    #access div {
        float: right;
        margin: 0 30px 0 auto;
    }

    It centers it, but the 30px will need to be adjusted for each extra menu I add. I can’t get it to auto center.

    Thanks for any help

Viewing 1 replies (of 1 total)
  • Michael

    (@alchymyth)

    guessing without a link to the problem:

    if you have the site title and description set not to show, there is a padding added to #access div (line 675 in style.css):

    #branding .only-search + #access div {
    	padding-right: 205px;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘center menu 1 column 2011’ is closed to new replies.