Making the menu more narrow
-
How would I make the menu section more narrow in the Business Identity theme?
The blog I need help with is: (visible only to logged in users)
-
Are you talking about narrowing the blue horizontal band so it isn’t full width of the site, or are you talking about the height of it (vertical)?
If vertical, there are two things that will need adjusting. The min-height in .site-header and then the top padding in .no-js .main-navigation, .main-navigation. Adjust the min-height first and then the top and bottom padding to center the text vertically. What you would want to do is to take half the reduction in min-height away from top and half away from bottom. If you reduce min-height more than 48px, then just set the top and bottom padding to 0.
.no-js .main-navigation, .main-navigation { padding-bottom: 24px; padding-top: 24px; } .site-header { min-height: 90px; } -
Ok, I tried that code, but all it did was make the menus move to the top of the bar. It did not change the height of the section. Any other tips?
I put the height as 48 and ) padding as suggested.
-
Hmmm, that worked for me when I tried it before. Change the .site-header rule to this
.site-header { min-height: 48px; max-height: 40px; }and then change the top padding in the other rule to 5px and see what you think.
-
-
- The topic ‘Making the menu more narrow’ is closed to new replies.