| @@ -40,9 +40,9 @@ | ||
| 40 | 40 | $this->get_image_container_css( $attributes, 'Mobile' ), |
| 41 | 41 | ); |
| 42 | 42 | // Image css |
| 43 | 43 | $css_generator->add_class_styles( |
| 44 | - '{{WRAPPER}} .ablocks-block--featured-image img', | |
| 44 | + '{{WRAPPER}} .ablocks-image-figure img', | |
| 45 | 45 | $this->get_image_css( $attributes ), |
| 46 | 46 | $this->get_image_css( $attributes, 'Tablet' ), |
| 47 | 47 | $this->get_image_css( $attributes, 'Mobile' ), |
| 48 | 48 | ); |
| @@ -48,9 +48,9 @@ | ||
| 48 | 48 | ); |
| 49 | 49 | |
| 50 | 50 | // Image hover css |
| 51 | 51 | $css_generator->add_class_styles( |
| 52 | - '{{WRAPPER}} .ablocks-block--featured-image img:hover', | |
| 52 | + '{{WRAPPER}} .ablocks-image-figure img:hover', | |
| 53 | 53 | $this->get_image_hover_css( $attributes ), |
| 54 | 54 | $this->get_image_hover_css( $attributes, 'Tablet' ), |
| 55 | 55 | $this->get_image_hover_css( $attributes, 'Mobile' ), |
| 56 | 56 | ); |