- This topic has 11 replies, 5 voices, and was last updated 3 years, 2 months ago by David.
February 4, 2016 at 1:16 pm #170443Tony
I want to align the logo and site title vertically.
This works but is there a more reliable way to do it that doesn’t depend on a px value e.g. using something like vertical-align: middle (which I can’t make work)
margin: 20px 0px 0px 0px;
}February 4, 2016 at 6:10 pm #170513TomLead DeveloperLead Developer
vertical-align: middle only works with tables or elements mimicking tables, which isn’t very reliable either.
I would go with px – you can always use media queries to tweak them if things shift at different browser sizes.
Sooner than later I’m going to make an option in the Customizer that does this that will be super reliable 🙂April 12, 2016 at 12:00 am #186102Ryan
Can I ask when you are going to release the option in customiser to allow the logo to be aligned in the middle of the header? Right now I am using just a logo image – no text.
I’m trying to use some custom css but not working out well.
text-align:centerhas no affect (but its ‘cheap shot css’) I was expecting
margin: 0 auto;to work because the header has a defined width, but nothing is working out for me.
Not a big fan of using fixed pixels and then correcting them at breakpoints either…
April 12, 2016 at 9:56 am #186236TomLead DeveloperLead DeveloperMay 29, 2018 at 3:08 am #586879Thierry
- This reply was modified 5 years, 3 months ago by Ryan.
I need the same thing, vertical align site-branding with site-logo, it’s possible ?
ThxMay 29, 2018 at 5:18 am #586944DavidStaffCustomer SupportMay 29, 2018 at 8:18 am #587151Thierry
Great, thanks DavidMay 29, 2018 at 8:20 am #587152DavidStaffCustomer SupportMay 29, 2018 at 10:48 am #587248Thierry
So, how i can do fix this :
(a second menu float right)May 29, 2018 at 1:32 pm #587342DavidStaffCustomer SupportMay 30, 2018 at 12:03 am #587595Thierry
it’s work, thanks 🙂May 30, 2018 at 2:29 am #587679
- You must be logged in to reply to this topic.