Tagged: middle
-
AuthorPosts
-
December 17, 2013 at 3:15 pm #201100
Hi how can I get the logo in the centre and the main menu also in the middle/centre below the logo?
- This topic was modified 10 years, 11 months ago by studioinktvis.
December 17, 2013 at 5:32 pm #201161Hi studioinktvis!
What type of header do you have? Please check on Enfold > Header > Header Type.
Please try this on your custom.css or Quick CSS if you have a Small fixed header:
.main_menu { margin: 0; display: block; text-align: center; top: -45px; } .avia-menu { display: inline-block; } div .logo { position: relative; margin: 0 auto; z-index: 1; }
Use this to adjust the header height:
/*default header: main logo and main menu height. increase max value if you want to use a bigger logo*/ #header_main .container, .main_menu ul:first-child > li a{ height:120px; line-height: 120px; }
Best regards,
IsmaelFebruary 15, 2014 at 3:55 pm #224340Hi, I’m using small non-fixed header. The code above does not work. What should I use to get the logo in the middle and menu header below the logo also in the middle?
February 17, 2014 at 2:52 pm #224960Hi!
Please add following code to Quick CSS in Enfold theme options under Styling tab
div .logo { left: 40%; } .main_menu {right: 30%; } #header_main .container { height: 120px; } .main_menu ul:first-child > li > a { height: 60px; margin-top: 60px; } .logo, .logo a, .logo img { max-width: 200px!important; }
You may need to adjust first two lines depending on the size of your logo and menu
Cheers!
YigitMarch 5, 2014 at 11:24 am #232663Hi, my client changed his mind. He wants to use “HEADER with social icons and bottom”, but not left outlined. He wants the logo and the menu in the middle. What code should I use?
The above does not work correct for this header type.
March 5, 2014 at 2:54 pm #232704Hi!
Please try
div .logo { left: 40%; } .main_menu { left: 30%; }
and adjust as needed
Cheers!
YigitMarch 5, 2014 at 4:11 pm #232761This reply has been marked as private.March 5, 2014 at 4:28 pm #232776 -
AuthorPosts
- The topic ‘logo in the middle’ is closed to new replies.