-
AuthorPosts
-
December 12, 2016 at 12:40 pm #723087
Hi,
I want the logo in the center of the header and the menu on the left and right.
How can I achieve this?
See private content for example.
Thanks in advanceDecember 14, 2016 at 3:23 pm #724306Hey FerryTCB,
To create a split menu with centered logo please start by selecting the “Menu and Logo position” to “Logo Center Menu Below” from Enfold > Header > Menu and Logo Position
Then try adding the below code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
Adjust the nth-child(x), margin and top values to suit your design.
1. nth-child(2) in the below code refers to the 2nd menu item if you have 6 menu items change it to 3.
2. To vertically align the logo and menu adjust the margin-top and the top values in the below code.That’s all friends :)
/* Split menu ----------------*/ @media only screen and (min-width:768px) { .av-main-nav li:nth-child(3) { margin-right:300px; } .av-logo-container { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); } #header { margin-top: 30px; }}Best regards,
Vinay-
This reply was modified 8 years, 10 months ago by
Vinay.
December 15, 2016 at 3:35 pm #724870Thanks!!! :-D
December 16, 2016 at 8:47 am #725207Hi,
Glad we could help, please let us know if you should need any further help on the topic.
Best regards,
RikardSeptember 25, 2017 at 11:12 pm #856720Hello,
I tried this code and it looks great, but when I scroll down, things get a little funky. Any assistance would be greatly appreciated!
September 26, 2017 at 2:32 pm #856934Hi CPM_usa,
Please remove this code
https://cl.ly/3r1B0H0y0L03
and add this code, you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css.container.av-logo-container { top: 0; }If you need further assistance please let us know.
Best regards,
VictoriaSeptember 26, 2017 at 2:43 pm #856944Worked perfect. Thanks!
September 26, 2017 at 5:49 pm #857057Hi,
I’m glad you were able to get this solved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
This reply was modified 8 years, 10 months ago by
-
AuthorPosts
- The topic ‘Logo center, menu left and right’ is closed to new replies.
