Add border to Feature Image
URL to the page in question:
http://salenaknight.com
-
Hey Bill,
I’m trying to put a border around my feature image.
I found this code on another support post (foundation theme), but I’m not having much luck with it on the Kerygma theme.
.page img.attachment-single.wp-post-image,
.post img.attachment-single.wp-post-image {
border: 3px solid #333;
margin-bottom: 10px;
}
Any tweaks I might be able to make to get it to work would be appreciated,
Thanks
Selena,
It’ll depend somewhat on which featured image you’d like to add it to. Say you want to add a border to the featured images in your blog, then you’d do this:
- Go to your theme options page and choose the Advanced tab.
- Scroll down to the Custom CSS box and add this:
.post .wp-post-image {
border: 1px solid #000000;
}
- Update your settings.
Take care,
Bill
- The topic ‘Add border to Feature Image’ is closed to new replies.