Rounded featured image and rounded post images

Posted in: Newspaper
Post count: 31

Hey,

I would like to get the images and the featured image in a post get a border radius of 5px.

First, I did not find an option to activate this for images in the single post template. How is it possible to realize it?

Second, by setting the border radius to 5px for the featured image while caption position is enabled for below the image, the rounded corner is only visible in the top left and right corner. How can I fix it, that the rounded corners are visible at all corners and the caption of featured image is visible below the image?

Best

Post count: 27744

Hello,

Please check this option for image radius https://i.imgur.com/m1kja97.jpeg
Also, do you want post content to have a border radius for images? then you can use this code .td-post-content img {
border-radius: 5px;
}

Set the code in Theme panel>Custom code>Custom css

Thank you!

Post count: 31

Hi!

Thanks for the support. I changed the module from single post bg featured image to single post featured image.
However now I have the issue that image height is not restricted, so images with a high height take a lot of space. How can I restrict this (e.g. https://www.trekzone.de/2024/07/29/rezension-die-star-trek-chronik-5-star-trek-deep-space-nine/)

Best

Post count: 27744

Hi,

If you want to use single post bg featured image, then use this code .tdb-featured-image-bg
{
border-radius: 5px;
}

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.