Archived topic
Features image caption / WPSP tiles
3 replies · Started by Jan on November 26, 2021
Hi Leo,
not sure if the GP or WPSP forum is the right place for this.
I have added the PHP from David (original threat) to the function.php of the child theme, which makes the desired captions show up as intended.
Unfortunately, there seems to be side effect on the front page of this "Dispatch" (Site library name) based site. Most of the tiles suddenly have an additional border at the bottom.
What is the best way to fix that?
Thanks,
Jan
Hi there,
what would you like to happen?
For example this CSS will float the caption over those images:
.wpsp-card .wp-caption .wp-caption-text {
position: absolute;
bottom: 0;
left: 0;
padding: 2px;
background-color: #000;
}
Or this will just hide it:
.wpsp-card .wp-caption .wp-caption-text {
display: none;
}
Hi David,
the second CSS dis the did the desired trick.
Thanks for your support.
Regards,
Jan
Glad to be of help