Potion Potion - 13 days ago 9
CSS Question

HTML Vertically Center Text Next To My Logo?

I can seem to fix the heading on my blog here. I have used the following codes I have found but it doesnt seem to work.



.v-center{
display: inline-block;
vertical-align: middle;
float: none;
}




Answer

Try to use Flex box :

.align-header {
margin-top: 25px;
margin-bottom: 10px;
display: flex;
align-items: center;

}