Hi,
http://neu.cismst.de/en/news-en/news/
the headers in my blog list seem to have a fixed height. I need them to have different heights depending on the number of lines (1, 2 or 3).
At the moment the height is fixed to about 2 lines or 50px.
I already figured out that the DIV is probably called entry-content-header and I added a green border around it to see it better.
Plus I added a red border to post-entry/post-title and a yellow border to the entry-content.
But I am not able to fix the height of the entry-content-header.
When I add a
height: 25px !important;
min-height: 25px !important;
to the header (green), it collides with the following content (yellow) as soon as it has 2 lines.
Can anyone help?
Nobody?
I’d say it’s just an “easy” CSS problem, but I can’t figure out, where the fixed height comes from…
Hi,
This CSS seems to be causing your problem:
.entry-content-header {
height: 50px;
}
It looks to be added in your child theme.
Best regards,
Rikard
Oh, damn…. sometimes you don’t see the wood for the trees.
I obviously added this, when I styled the archives and because it was later in the css, my changes above did not have any effect…
Thank you very much! :)
Hi GrandmasterA,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria