Hove increase the size of the title container so that i could add a tinted image of the title bar, with white text over the top. I want to vertically align the title in the middle of the title bar. I understand I can do this by changing the line high in CSS. However if it’s a long title and it splits onto 2 lines (especially on a mobile device) the second line is then too far outside of the title bar.
Do you know how I can do this so that it retains normal line spacing but the text is still vertically aligned even if its on 2 lines?
Many Thanks
Regards
Colin
Hey waveseven,
Please remove your code and add it like this, so that it does not affect smaller sized screens
@media only screen and (min-width: 768px) {
#top .title_container .container h1 {
text-transform: uppercase !important;
font-weight: bold;
line-height: 130px !important;
}
}
Best regards,
Victoria
Hi Victoria
Sorry for the delay in getting back to you, I have been on vacation.
Yes that works perfectly with a bit of tweeking
thank you
Hi waveseven,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria