Forums

center menu on wordpress 2010 theme (1 post)

  1. cthunman
    Member
    Posted 10 months ago #

    Hey there,
    I'm having this issue with my wordpress theme 2010, and there have been other posts that have addressed this problem, but I am still running into some issues. I am running the site http://www.thewcpress.com, and I would like to take the menu items in the main bar: Home, Current Issues, etc... and I would like them to be centered as opposed to left justified.

    The suggested solution is to change this:

    #access {
    	background: #FFFFFF;
    	display: block;
    	border-bottom: 18px solid black;
    	float:left;
    	margin: 0 auto;
    	width: 940px;

    to this:

    #access {
    	background: #FFFFFF;
    	display: block;
    	border-bottom: 18px solid black;
    	margin: 0 auto;
    	width: 940px;
            position:absolute;
    	text-align:center;
    }

    and add this:
    #access ul{display:inline-block;}

    The problem is that when I do that, it gives me this result:
    http://dl.dropbox.com/u/24333992/Screen%20shot%202011-07-22%20at%2010.08.02%20PM.png
    putting the menu items above my header image.

    Am I doing something really dumb here? Any help would be extremely appreciated.

Reply

You must log in to post.

About this Topic

Tags