Hi, here is my website : http://tinyurl.com/qhkcguv, I want to properly align my grid so I add a custom css
.grid-content {
min-height:75px;
}
Now I am struggling to vertical-align the portfolio title, I tried everything I could think of but none of my attempts worked ;(
I would be grateful if you could give me a hint :)
Many thanks in advance
Olivia
Hi oliviad!
You can use this to move the title downwards:
.grid-entry-title {
position: relative;
top: 10px;
}
Regards,
Ismael
Tried it but it does not vertically align title, is there a way to do so? The reason why is that some titles are 1 lines and some are 2 or 3 lines. Want them to be positioned in the middle vertically speaking. Is there a CSS way to do so?
Thanks for your help
Hello!
Please add following code as well
.grid-entry-title { text-align: left!important; }
Cheers!
Yigit
Hello,
Thanks for your answer but I am trying to “center center” the title meaning text-align: center; vertical-align: middle; but it does not work for the vertical align. Any idea why?
Thanks
Hello Olivia!
This will do it:
.grid-content .entry-content-header{
min-height: 35px;
display: table;
text-align: center;
width: 100%;
}
.grid-entry-title{
display: table-cell;
vertical-align: middle;
}
‘vertical-align’ works on table/table-cell elements.
Cheers!
Josue
Thanks so much it works like a charm !!