Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
olipowell

Box Shadow to specific image

Question

Hey, 

I'm trying to target a specific block so I can add a box shadow. I've tried all the div id's associated with the image, but I can only manage to apply the shadow to the block container, not the image itself

Link to the image I'm working on and the code:

div#block-yui_3_17_2_1_1576159652296_3844 {
    box-shadow: 0px 4px 8px 2px rgba(0,0,0,.1);
}

 

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

Hi @olipowell,

Try targeting the image wrapper: 

div#block-yui_3_17_2_1_1576159652296_3844 .image-block-outer-wrapper {
    box-shadow: 0px 4px 8px 2px rgba(0,0,0,.1);
}

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...