Hi there, sorry if this has been asked recently.
Basically I am trying to center the logo for a website I am currently working on. I am using the premium vantage theme and I have logo in menu masthead feature set, also under customization > general I have center logo checked. Is there away to center the logo when I have the logo in menu choice active?
Hi Mitesh,
Would you mind proving a direct link to your site so that I come up with a custom solution for you.?
Looking forward to hear from you
Cheers
Of course:
http://www.dimensioninstore.com
To be a little more clear I want to center my logo while moving the navigation to the right of the logo.
Thanks again for any help
Hi Mitesh
Thanks for reaching out. As you noticed, the Center Logo setting isn’t currently applicable when used with the Logo in Menu masthead layout option.
The following inserted under Appearance > Custom CSS will center the logo:
And the following will right align the menu:
Hope that helps.
Hi there, thanks for getting back to me.
The code to move the navigation to the right works wonders thank you so much for that!
The code to align the logo to the center on the other hand didn’t work I’m afraid, it moved the logo above the menu so it was on a separate line like using a line break, it was also still aligned to the left and hadn’t moved to the center. I tried removing the float and width properties and I was left with the logo being on the same line as the navigation but still only centered to the left.
I then used this to move the logo to the center:
it works when viewed on a monitor with the browser window set to full screen, but when I then drag the browser window to make it smaller the logo jumps back to the left side of the page.
Any suggestions? Again thank you for any help!
Sure, try this for this logo instead:
Set the negative right margin value equal to the image width of your logo.
Andrew, you legend, that worked for the most part.
I removed the margin-right line and changed the navigation size for when it changes to mobile navigation and I was able to get it to work without the navigation floating over the logo.
Thank you very much for all your help it’s greatly appreciated!
Super, glad that mostly did the trick :)