-
AuthorPosts
-
December 19, 2013 at 4:34 pm #202077
Is there any way to keep the header / top navigation the small size that occurs during the scroll?
Regular nav / header: http://gyazo.com/8106d907c8f36c9c905ec4f0dff1397e
Nav / Header when scrolled: http://gyazo.com/740f88186018972bc5abf846dd5a0de0We’d prefer to have the nav / header the exact same size at the top of the page, as it is when it’s scrolled.
Is there a way to change the header to look like this?
REF: http://gyazo.com/740f88186018972bc5abf846dd5a0de0
This is basically what we want for the main navigation throughout the entire website. Hopefully this is possible.Thanks
December 19, 2013 at 4:39 pm #202084Hi DaveL77!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.fixed_header #main { padding-top: 44px; } #header_main .container, .main_menu ul:first-child > li a { height: 44px!important; line-height: 44px!important; } .logo, .logo a, .logo img { max-height: 44px!important; }
Flush browser cache after applying the code and refresh your page a few times
Best regards,
YigitDecember 19, 2013 at 4:55 pm #202099This isexactly what I was looking for. However, when I add this code, there is a gap between the main header and the breadcrumb div. It also messes up the mega menu. wwwtest.securit360.com
December 19, 2013 at 5:02 pm #202112Ref: http://gyazo.com/dc15dc66466272824d7ae6490793afaf
Unless you’re talking about the arrows that get mis-aligned in the mega menu… then you are correct, those are not aligned properly.
Thank you!!!!
- This reply was modified 11 years ago by DaveL77.
December 19, 2013 at 5:04 pm #202115Hmm. I’ve got the same thing on IE 11 and Chrome 31. Any thoughts?
December 19, 2013 at 5:05 pm #202118http://gyazo.com/ef2dcda29eb37af8eb75a62d7ee3d8c4
Only thing wrong is the arrows are mis-aligned.
If there is a way to re-align the arrows on the mega menu then everything is perfect.December 19, 2013 at 5:07 pm #202119Yes, I haven’t been able to find out how to do that correctly. I tried removing main menu and child item from the css, but it moves stuff around and doesn’t look the same on multiple browsers.
Also notice, the other thing is the white gap between the menu div and the breadcrumb div.
December 19, 2013 at 5:08 pm #202120Hey!
@davel77 I checked the website you have previously posted and it looks fine on my end. Please try to flush browser cache and refresh your page a few times.
@andrewdalaniz Please add following code to Quick CSS as well.fixed_header.social_header #main { padding-top: 81px; }
Best regards,
YigitDecember 19, 2013 at 5:09 pm #202121Thanks Yigit! That fixes the gap. The last thing is the alignment in the megamenu, hover over about us and the services menu items.
December 19, 2013 at 5:10 pm #202122Hey!
@davel77 sorry now i saw what you meant. Please add following code to Quick CSS as well.avia_mega_div .avia-bullet { margin-top: 22px; }
Cheers!
YigitDecember 19, 2013 at 5:10 pm #202123Fixed!!! Solved.
Thank you for such a quick response!!!
- This reply was modified 11 years ago by DaveL77.
December 19, 2013 at 5:12 pm #202126Hey!
@andrewdalaniz and this should fix it for you.avia_mega_div .avia-bullet { margin-top: 25px; }
Best regards,
YigitDecember 19, 2013 at 5:12 pm #202127Yigit, that lined up the arrows perfect! Only a couple minor things. In the sub menu of the about us menu, the list item is not centered vertically.
Second there is a little too much space between items in the megamenu under services. Can that space be reduced?
December 19, 2013 at 5:20 pm #202130Hi!
Please remove the first code i posted in this topic as well as the code i posted to fix the bullet issue and add following code to Quick CSS instead
#header_main .container, .main_menu ul:first-child > li > a { height: 44px!important; line-height: 44px!important; } .logo, .logo a, .logo img { max-height: 44px!important; }
This should solve it. I targeted wrong class on the first code i posted, sorry :)
Cheers!
YigitDecember 19, 2013 at 5:22 pm #202132hmm, that fixed the menu and the logo, but the whole div is too big with that one. :/ I think the code you had there was better, we just need the code to adjust the alignment in the menu.
December 19, 2013 at 5:25 pm #202134Hey!
Code is not being applied for some reason. ***removed***
Best regards,
Yigit- This reply was modified 11 years ago by Yigit.
December 19, 2013 at 5:30 pm #202140This reply has been marked as private.December 19, 2013 at 5:39 pm #202147This reply has been marked as private.December 19, 2013 at 5:49 pm #202151Hey!
Please review your website. **removed**
Regards,
Yigit- This reply was modified 11 years ago by Yigit.
December 19, 2013 at 5:50 pm #202153Perfect! Thank you for your help!
December 19, 2013 at 5:51 pm #202156This reply has been marked as private.December 19, 2013 at 5:51 pm #202157 -
AuthorPosts
- The topic ‘Keep header one "small" size?’ is closed to new replies.