WordPress.org

Ready to get started?Download WordPress

Forums

Sugar and Spice
[resolved] Removing border on post images (9 posts)

  1. natalieheather
    Member
    Posted 6 months ago #

    Hi! I was just wondering if there was a quick fix for removing the small gray border to images within posts? Thank you!

  2. Andrew
    Forum Moderator
    Posted 6 months ago #

    Does that theme come with a "Custom CSS" or similarly named section of the dashboard? Or are you using a CSS plugin or Child Theme?

  3. natalieheather
    Member
    Posted 6 months ago #

    There is both a "Edit CSS" and an "Editor" section under Appearance. Does that help?

  4. Andrew
    Forum Moderator
    Posted 6 months ago #

    In the "Edit CSS" section add this:

    .entry-content img
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
  5. natalieheather
    Member
    Posted 6 months ago #

    For some reason that didn't work, but you helped me know what to look for to edit the shadow to 0px. Thank you for your help!

  6. Andrew
    Forum Moderator
    Posted 6 months ago #

    Make sure you transfer your changes out of the theme's files and into the "Edit CSS" section or a Child Theme style.css file if you don't want them to be erased when the theme updates.

  7. natalieheather
    Member
    Posted 6 months ago #

    Ok, I've done that. Thanks a lot - that would have been pretty unfortunate!

  8. joycacchiola
    Member
    Posted 6 months ago #

    I tried this and it did not work. Any other suggestions? I've been searching and trying I could find and still nothing has worked. About to lose my mind!!!

  9. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    @joycacchiola - please start your own thread and include a link to your site.

Reply

You must log in to post.

About this Theme

About this Topic

Tags