WordPress.org

Forums

Sugar and Spice
[resolved] Remove shadow from images (9 posts)

  1. Set-Byul
    Member
    Posted 1 year ago #

    I am working on a website http://beaniscraftshack.com/ and I want to get rid of the shadows from the images. I tried editing the code using Appearance>Editor>Stylesheet (style.css). I was able to edit other things I wanted to using this, but for some reason, I can't get rid of the shadow!

    I tried using the code from this past thread: http://wordpress.org/support/topic/removing-the-border-from-images?replies=6 and it still doesn't work.

    Thanks!

  2. alex27
    Member
    Theme Author

    Posted 1 year ago #

    Hello!

    As far as I can see you didn't implement those styles, I can't see them in your stylesheet.
    BTW you should not edit style.css via the editor, your custom changes will be lost during future update! You should implement custom CSS via CSS Manager (or other) plugin or via child theme!

  3. Set-Byul
    Member
    Posted 1 year ago #

    Ah ok I'll get the plugin!
    Is there another way to remove the shadow background from the images?

    Thanks!

  4. alex27
    Member
    Theme Author

    Posted 1 year ago #

    Yes, custom CSS is the only way.

  5. Set-Byul
    Member
    Posted 1 year ago #

    I got the plugin, but I'm not sure what exact code to use. I don't use the one from the past thread I posted before, do I?

    Thanks so much!

  6. alex27
    Member
    Theme Author

    Posted 1 year ago #

    This is it:

    entry-content img {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
  7. Set-Byul
    Member
    Posted 1 year ago #

    I added this code into the CSS Manager, and the shadow is still there...

  8. alex27
    Member
    Theme Author

    Posted 1 year ago #

    My bad, there should be . (dot) before 'entry content', like so:

    .entry-content img {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
  9. Set-Byul
    Member
    Posted 1 year ago #

    This worked!! Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic