WordPress.org

Forums

Fruitful
[resolved] Remove image border (8 posts)

  1. Katharine
    Member
    Posted 1 year ago #

    How do I remove borders on images in pages/posts? See: http://www.katharineholmes.ca/social-media/

    Thanks!

  2. Fruitful Code
    Member
    Theme Author

    Posted 1 year ago #

    katharineholmes

    Theme options > custom css

    Add this line
    .site-content .entry-content p img {box-shadow:0px 0px 0px}

  3. salsaturation
    Member
    Posted 1 year ago #

    Hi Katharine

    Your post is marked as resolved but can still see the borders on your images. Did you mean to mark it as resolved? Anyway if you still need the solution... the code affecting it is:

    .site-content .entry-content p a img, .site-content .entry-content p img {
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.5);
    }

    If you don't already have a custom.css you should install a plugin like custom CSS plugin then add the following to the custom css area.

    .site-content .entry-content p a img, .site-content .entry-content p img {
    box-shadow: none;
    }
  4. Fruitful Code
    Member
    Theme Author

    Posted 1 year ago #

    salsaturation,

    Fruitful theme has custom css in theme options

  5. Katharine
    Member
    Posted 1 year ago #

    Thanks! Worked perfectly. :)

    Katharine

  6. andracuamic
    Member
    Posted 1 year ago #

    Really useful! Thanks!

  7. Carrie7891
    Member
    Posted 1 year ago #

    Hello,

    I've read countless items about removing the image border or shadow and deleted/changed where I can and followed the instructions above (I believe) but it still won't change. Please can you help and guide me about what I need to change and where to get rid of these grey borders.

    The address is

    thanks
    Carrie

  8. alonis10
    Member
    Posted 11 months ago #

    I'm having the same issue as Carrie - I entered the given code into the Custom CSS of the theme, but the border is still showing up: see this page (also, why is it only showing up for the second image?)

    Thanks in advance!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic