WordPress.org

Support

Support » Themes and Templates » [Resolved] Remove shadow from images

[Resolved] Remove shadow from images

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author alex27
    Member

    @alex27

    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!

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

    Thanks!

    Theme Author alex27
    Member

    @alex27

    Yes, custom CSS is the only way.

    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!

    Theme Author alex27
    Member

    @alex27

    This is it:

    entry-content img {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

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

    Theme Author alex27
    Member

    @alex27

    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;
    }

    This worked!! Thank you so much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Remove shadow from images’ is closed to new replies.