Trying to add a ‘follow us on facebook’ text in the header with a clickable image of the facebook icon next to it. I am using the Text widget in the header to achieve this.
How can I get the text to be centre aligned vertically against the facebook icon?
OK the widget seems to have lost the span tag. Can you copy the code you have and add it a Custom HTML widget instead. And then wrap the text like so <span>Follow us on </span>
David – then span text is there now but the text is still not centred on the visible icon – I think it is the resized facebook icon is being display 32 x 32 but is using the space of 32 x 38 – so should I jest recreate the icon be be 32 x 32?
Also the space between the Header text widget and Header Custom HTML seems to have widened – what do I do to make them closer. Thank you.
I updated the code above, with the addition of the line-height property.
Then once that is done you can cut the text from the text widget and add that to the custom HTML widget, before the first <div> – this will get rid of the additional widget margin space.