Tagged: megamenu
-
AuthorPosts
-
January 24, 2014 at 6:16 am #214297
I have put images at the column heads in a megamenu. They look good when the site is fullscreen, but as it gets smaller the four columns that I have resize unevenly and my images end up with different dimensions. The two central columns are shrinking more than the two outside columns.
Do you have a line of magic css for this pleeeaase
TimJanuary 24, 2014 at 6:25 am #214298I’ve found that it’s just in Chrome.
Firefox and IE are fineJanuary 24, 2014 at 7:48 am #214303I’ve been looking for the files and css of mega-menu. It’s quite well hidden
It’s just getting a bit long. i wanted to change the padding at top and bottom , or someting like that.January 25, 2014 at 6:54 pm #214864January 25, 2014 at 6:57 pm #214866Thanks Yigit
It’s not too ordered at the moment, but we are talking about the menu
Cheers, TimJanuary 25, 2014 at 7:02 pm #214868Hi!
Please try adding following code to Quick CSS in Enfold theme options under Styling tab
#header .avia_mega_div .avia_mega_menu_columns_last { padding-right: 14px; } #header .avia_mega_div .avia_mega_menu_columns_first { padding-left: 14px; } #top #header .avia_mega_div > .sub-menu { padding: 20px 15px 30px; }
Regards,
YigitJanuary 25, 2014 at 7:50 pm #214871That has made the graphic elements the same size in Chrome.
I haven’t checked Firefox and IE. ThanksI tried tweaking the padding using this line but it’s still tall
#top #header .avia_mega_div > .sub-menu { padding: 20px 15px 30px; }That seems to be another div. I’ve tried the following to see if I can locate the div but it’s still elusive. I’m talkig about reducing the amount of vertical white space in the menu because it is rather long.
.sub-menu {padding: 5px, 15px, 5px;}
menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children avia_mega_menu_columns_4 three units {margin: 5px, 15px, 5px;}
Thanks Yigit
January 26, 2014 at 2:59 am #214937Hi!
Please try this:
#top .main_menu .menu li ul a { line-height: 18px; min-height: 18px; } #top #header .avia_mega_div > .sub-menu { padding: 10px 20px 10px 20px; }
Cheers!
IsmaelJanuary 26, 2014 at 2:53 pm #215018Thanks Ismael, that’s great, Now i’ve sorted it out
The code above fixed the upper part of the menu but not the second row. You got me looking in the right direction and i added the following part in bold type
#top #header .avia_mega_div > .sub-menu,
#top #header .avia_mega_div > .sub-menu.avia_mega_hr {
padding: 10px 20px 10px 20px;
}Cheers, Tim
-
AuthorPosts
- The topic ‘megamneu column width’ is closed to new replies.