randomcharlie
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Themes and Templates
In reply to: [Matala] How do I center the menu?Finally fixed it by editing the Header tag. I added
text-align:center;and it worked. Thanks for your help!Forum: Themes and Templates
In reply to: [Matala] How do I center the menu?I’ve tried what you suggested and still no cigar. I just want the menu to be centred no matter how many pages are added. The website is kabarker.com.au/blog
Here is the code from style.css
Thanks for your help!
/* =Main Navigation -------------------------------------------------------------- */ #access { float: none; display: table; margin: 0 auto; } } .attachment #access { background: url("images/bg-menu-1col.png") no-repeat; width: 1000px; } #access ul { font: 15px Georgia, "Times New Roman", serif; list-style: none; -webkit-transform: rotate(1deg); -moz-transform: rotate(1deg); } #access li { float: left; position: relative; } #access a { color: #4f98b7; display: block; font-weight: bold; line-height: 3; padding: 0 13px 5px; text-decoration: none; } #access ul ul { -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; float: left; position: absolute; top: 25px; left: 0; margin-left: 0; z-index: 99998; -webkit-transform: none; -moz-transform: none; min-width: 180px; } #access ul ul ul { left: 100; top: 0; } #access ul ul a { background: #e8e0c8; border: 1px solid #dfce8c; color: #000; line-height: 1; margin: 0; padding: 15px; min-width: 180px; height: auto; } #access li:hover > a { color: #1dc4d8; background: url("images/menu-selected.gif") no-repeat; } #access ul ul li:hover > a { color: #1dcdd8; background: #c8e6e8; background-position: 0 0; } #access ul ul a:hover { background: #d4cfc6; } #access ul li:hover > ul { background: #e2dbd1; display: block; } #access .current_page_item a { color: #1dd1d8; background: url("images/menu-selected.gif") no-repeat; } #access li.current_page_item ul ul li a, #access li.current_page_item ul li a { background: #e8e0c8; }
Viewing 2 replies - 1 through 2 (of 2 total)