Home Forums Free Themes Photo Perfect Drop Shadow on Blog Post Images only

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23890
    rich_miller86
    Participant

    Hi,

    I was wondering if there was a way I could use CSS to add a small drop shadow to my blog post images.
    I don’t want it on any other images on the site..Just the blog post ones.

    Thanks in advance

    #23917
    wensolutions
    Keymaster

    Hello,

    To add shadow to your single post featured images in your website please paste in the following custom CSS in your Admin Dashboard > Appearance > Customize > Theme Options > Advanced Options > Custom CSS :

    .single #main .entry-content a > img {
        box-shadow: 5px 5px 5px #888888;
    }

    You can replace the color of the shadow by replacing the hex code of your desired color.
    For reference on hex codes see the link here : http://www.w3schools.com/colors/colors_picker.asp

    Hope this Helps,

    Best Regards !!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.