-
AuthorPosts
-
April 30, 2018 at 12:23 am #948750
Hi,
I would like to know how I would move my logo to the centre of the header and keep the menu right.
I currently have logo left, menu right selected with a search widget in the centre. I can move the widget left I just need some code to move the logo to the centre.
Hope you can help.
Many thanks,
Luke
April 30, 2018 at 5:56 am #948771Hey hazelallturf,
Would you mind providing a precise link to the page, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
VinayApril 30, 2018 at 8:59 am #948865Hi Vinay,
My bad! Please find link below.
Thanks
April 30, 2018 at 9:46 am #948913Hi,
Please remove the header widget style.
Add the below CSS
The Background color is used only for reference please remove it to suit your design..container.av-logo-container .inner-container { display: flex!important; background: #eee; flex-direction: row; justify-content: space-between; flex-wrap:wrap; } #top #header .logo, #top #header .main_menu, #top #header #search-3 { position: relative; } /* Logo */ #top #header .logo { background: #ffdd00; order:2; /*flex-grow: 1;*/ } /* Menu */ #top #header .main_menu { background: #0099e5; order:3; /*flex-grow: 2;*/ } /* Header widget*/ #top #header #search-3 { background: #34bf49; padding: 0; order:1; z-index: 999; /*flex-grow: 1;*/ } /* Header widget Breakpoint */ @media only screen and (max-width: 850px) { .container.av-logo-container .inner-container { display: block !important; } #top #header .logo { display: inline-block; } /* Menu */ #top #header .main_menu { display: inline-block; float: right; } #top #header .av-main-nav-wrap { float: right; } #top #header #search-3 { margin-top: -40px; } }
The result will be:
For more information please feel free to check out the header layouts.
Best regards,
Vinay- This reply was modified 6 years, 6 months ago by Vinay.
April 30, 2018 at 10:27 am #948960Hi Vinay,
That has worked a treat thank you.
Could you please see my other post if you can help?
Many thanks,
May 1, 2018 at 7:30 am #949401Hi,
Thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardMay 1, 2018 at 10:38 am #949471No that’s perfect thanks for the help.
-
AuthorPosts
- You must be logged in to reply to this topic.