Vertically center text

Hi all

I have a jsfiddle here -

I simply trying to center the text vertically against the button or just center it in the gray block.

The read mores? They are already vertically centered. You centered it via the font-size and line-height having basically matching values.

The font-size and line-height seems to add padding to the bottom of the gray bar and doesn’t work if I need more than 1 line of next

This will do it, although you need to remove the float stuff from the generated content for it to work:

.row {
    display: table;

    display: table-cell; 
    vertical-align: middle;

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.