Viewing 8 replies - 1 through 8 (of 8 total)
  • What exactly are you trying to accomplish? Adding a border or removing the drop-shadow from the page images?

    hi
    if you want to remove box shadow of images then try to change this code from style.css
    (Take backup of ur theme and make sure you doing changes in child theme.)
    comment the box-shadow property from below as

    .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.176);//comment this line
    }
    hope this may work for u.

    Thread Starter midtex

    (@midtex)

    I am not trying to add a border. I am trying to get rid of the faint border around all of the images, which I guess means that I am trying to remove the drop-shadow.

    Praj – I don’t know how to make changes in child theme. I don’t even know if I have a child theme. I am a total beginner at this. You will have to “dumb it down” for me.

    Hello. According to your theme’s documentation, there is a custom CSS box under “Appearance -> Custom CSS” you can paste this in there

    .entry-content img {
    box-shadow: none;
    }

    and save. This will remove the box shadow from your images.

    Thread Starter midtex

    (@midtex)

    Do I just paste it anywhere?

    If there are other stuff in the custom CSS box, paste it at the very bottom.

    Thread Starter midtex

    (@midtex)

    THANK YOU! That worked! I’ve been trying to figure this out for a week now.

    You’re welcome! Please make sure you mark this post as “resolved”.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘gray borders around images’ is closed to new replies.