Jump to content
hildyr

Blog Post Feature Image Border

Recommended Posts

hildyr    0
hildyr

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
Danny    1,327
Danny

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;
}
  • Like 1

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×