Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #47997
    fmck718
    Participant

    Hi Sakin,
    I’ve seen a few threads on how to remove the shadow effect from all images, but I’d prefer to just remove it from a few specific images, such as the one on this page – sorrows.wpengine.com/history-of-our-school

    Can you help me out?

    Thanks.

    P.S. I originally posted this in the Catch Everest Free forum by mistake. Sorry about that.

    #48021
    Sakin
    Keymaster

    @fmck718: For that page only, you can add the following css in “Appearance => Theme Options => Custom CSS” box.

    .page-id-554 #content img {
        box-shadow: none;
    }
    #48069
    fmck718
    Participant

    Works perfectly. Thanks.

    #48343
    fmck718
    Participant

    Sakin,
    Can you tell me how to remove the shadow from the Johns Hopkins logo on this post as well?

    http://sorrows.wpengine.com/2014/09/ols-recognized-by-johns-hopkins-university-center-for-talented-youth/

    Thanks.

    #48344
    Sakin
    Keymaster

    @fmck718: You can add the following css in “Appearance => Theme Options => Custom CSS” box:
    .entry-content img { box-shadow: none; }

    #48348
    fmck718
    Participant

    Great. Is this a specific code for just this post? Or, will it remove the shadow effect from all images on the site? (My preference is to keep the shadow on most images.)

    #48350
    Sakin
    Keymaster

    @fmck718: That is for all the post and pages. But if you want to remove only on that post then you can add the following css instead.
    .postid-917 .entry-content img { box-shadow: none; }

    #48351
    fmck718
    Participant

    Awesome. Thanks as always.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Remove shadow around certain images’ is closed to new replies.