Archived

This topic is now archived and is closed to further replies.

  • 0

Blog Post Feature Image Border

Question

Posted · Report post

On my posts page, sometimes my posts feature images are smaller than my default size (the full width of the content area), however the border still extends the full width. I'd either like to have the border to stick with the size of the image. Thinking i need to change a percentage value somewhere, but now sure where.

 

For an example of the issue, see the second post on this page: http://www.anotherwildhare.com/blog/page/2/

 

Any advice?

 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

Hi,

 

You will need add the following to your custom CSS.

 

#site .c_img img {
background: #E9E9E9;
border: 1px solid #F4F4F4;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
padding: 4px;
}

 

#site .c_img {
background: transparent;
border: none;
box-shadow: none;
}
1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

That did the trick, thank you!

Share this post


Link to post
Share on other sites