Hey Kriesi Team,
I’m using Enfold and have the Header set to Logo Left, Menu Below. My current work can be seen at http://www.tiffanytimmons.com/new
My issue is that I would like the menu to be full width, but only to the width of the main content area. Also, I’d like the background color to stretch infinitely to the sides. I’d also like all of the words to be centered within their respective areas.
An example of what I mean can be seen here: http://i.imgur.com/agGwvD8.jpg
Can you please help me out? It’d be greatly appreciated.
Thanks!
Hey Boston182!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (min-width: 1140px) {
.av-main-nav > li > a { padding: 0 38px; }}
@media only screen and (min-width: 990px) and (max-width: 1139px) {
.av-main-nav > li > a { padding: 0 29px; }}
@media only screen and (max-width: 989px) and (min-width: 768px) {
.responsive .main_menu ul:first-child > li > a { padding: 0 13px; }}
Regards,
Yigit
Hey Yigit,
This looks much better! Unfortunately, it’s not exactly right. I’d like the menu to be the full width of the main content. Right now, it seems to be about 56 pixels or so short. This can be seen here: http://tiffanytimmons.com/new/programs/
After we solve that, I’d still like the background color to extend infinitely on the left and right.
Thanks!
Hi!
1- I have updated the code i posted previously, please use it now. Please keep in mind that if you add/remove menu items, you are going to need to adjust padding values.
2-
#header_main_alternate { background-color: #4e2a53; }
Cheers!
Yigit
Looks great, Yigit! Thanks for your help and your quick response!