Half-width overlay over slide using slick
问题 I have a simple slider consisting of images and text-only slides. I'm trying to set a background colour overlay on the slides, but I'm having trouble positioning and setting an exact width of the overlay in percentage. Here's a codepen of what I'm working with: http://codepen.io/anon/pen/RrewXV .slide-text-half { background:rgba(130,20,20,0.8); color:#fff; padding:0px; height:100%; width:inherit; z-index:2; position:absolute; top:0; } Setting a 50% width on the slide-text-half class sends the