/*Add a semi-transparent background on Nectar slider heading in Salient theme */

Add this CSS into your child theme CSS file or into your Salient theme options panel

.swiper-slide .content h2 {
padding: 4px 0px;
display: inline;
position: relative;
left: 10px;
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
box-shadow: 10px 0 0 rgba(0, 0, 0, 0.5), -10px 0 0 rgba(0, 0, 0, 0.5);
-moz-box-shadow: 10px 0 0 rgba(0, 0, 0, 0.5), -10px 0 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 10px 0 0 rgba(0, 0, 0, 0.5), -10px 0 0 rgba(0, 0, 0, 0.5);
-o-box-shadow: 10px 0 0 rgba(0, 0, 0, 0.5), -10px 0 0 rgba(0, 0, 0, 0.5);
line-height: 45px;
}

Pin It on Pinterest

Share This