WordPress.org

Support

Support » Themes and Templates » Box shadow for carousel images?

Box shadow for carousel images?

  • jbellwp

    @jbellwp

    Hello. First – thanks for the theme. I enjoy it.

    My reason for coming here is that I’d like to put a inner box shadow around the carousel images so it fades into the background instead of standing out. Here’s the CSS I want to use:

    -moz-box-shadow: inset 0 0 50px #ffffff, inset 0 0 50px #ffffff, inset 0 0 50px #ffffff;
    -webkit-box-shadow: inset 0 0 50px #ffffff, inset 0 0 50px #ffffff, inset 0 0 50px #ffffff;
    box-shadow: inset 0 0 50px #ffffff, inset 0 0 50px #ffffff, inset 0 0 50px #ffffff;

    When I applied it to #template-carousel .carousel-inner, that did the shadow for the canvas behind/under the image so that didn’t work. Is there a specific class you can point me to to apply it to the actual image being loaded?

    Is this even possible?

    Thanks!

  • The topic ‘Box shadow for carousel images?’ is closed to new replies.