Could you please help me understand how to set up my slider background image so it behaves more like the image on this site? http://elenabenitoruiz.es/
That is, the image size flexes with the browser window size, so you always see most of the width and height. I would also like to use the parallax effect, with a fixed background image and a text widget over the top.
Here is a link to my test site: http://sandbox.inboundinfocus.com/
The Slider area has a test image 1920x500px wide. I also have a 65px fixed header, so I’ve added a 65px top margin to the slider area. Before I set background-attachment: fixed; I could see the top and bottom edges of the background image, but not the left & right.
When I fixed the slider background image (for parallax), the top of the background image pops up behind the header band, and I still can’t see the sides of the background.
Hope that description isn’t too confusing. Thank you!!
Marshall
PS – Below is the background positioning CSS for the slider.
.slider {
background-image:url(http://sandbox.inboundinfocus.com/wp-content/uploads/2014/05/Slider-Layout-Test.jpg);
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
clear: both;
}