[Twenty Twelve] Align menu left?
-
Hi,
I am trying to align the menu to the left, so there is no white space to the left of my menu box. There is now no more room to the right, but I can’t seem to eliminate the space on the left.
As I also had to align my header to eliminate white space, this is the code I used:
#page { padding-left:0!important; padding-right:0!important; max-width:68.571428571rem; } header hgroup, #main, footer[role="contentinfo"], nav.main-navigation { padding-left:20px; padding-right:20px; } img.header-image { border-radius:0; align: center; } .main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul { border-bottom: 1px solid #f68a1f; border-top: none; margin-left: 0; padding-left:0!important; padding-right:0!important; width: 960px; max-width:68.571428571rem; align: left; }
If I take out nav.main-navigation out of this part, it works:
header hgroup, #main, footer[role="contentinfo"], nav.main-navigation { padding-left:20px; padding-right:20px; }
However, this will align all text (and, I assume, everything else as well) on the whole page to the far left, which is not what I want. I am very new to CSS, so forgive me if I am making an obvious mistake, but after 30 minutes of searching the web, I still can’t figure it out. Thanks in advance.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Twenty Twelve] Align menu left?’ is closed to new replies.