How to add a border on the featured image?

Posted in: Newsmag
Post count: 11

Hello, I have a website that mainly has a bright-color as the featured image. It looks so vague to the background. However, I don’t find any options on the Theme Panel to add some sort of border or shadow so the visitor will not be confused between featured image and the background.

Perhaps anybody can help me adding a border to the featured image? Especially for a single post page.
I heard it requires a CSS code but sadly I’m not mastering that field 🙁

Thank you for your willingness to help!

Post count: 20688

Hi,

So you want to add a shadow around the featured image. I could give it a shot. Provide a link to a post page on your website so I can test.

Thanks

Post count: 11

Hello Simion,

Thank you for the response. Here the website I’ve wanted to add a border to its featured image.

https://vegaslide.com/

Thanks!

Post count: 20688

Hi,

Forgot to ask, you want this for the homepage modules or in the post pages?

Post count: 11

Sorry for the late answer, post page please

Post count: 23312

Hello,

You need to use a bit of CSS code and place it in Theme panel -> Custom CSS Area. The code is here ->

.td-module-thumb{
border:1px solid red;
}

The result is here -> https://www.screencast.com/t/scVXmMfdJg

Thanks!

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