I am trying to create a slider which allows users to scroll through some divs.
I have the following which works, but what I would like to do is have one of the boxes faded out to the right of the page “outside” of the visible area. Then when the user scrolls through, have the slide to the left appear off the page and faded out.
That will be quite awkward to do if you want the transparent parts outside the main page section. You would need to rebuild the page to allow for a wider slider and then you could cover up the first and last ones with a partially opaque overlay.
Maybe a quick fix would be to make the items six across to start with and then just cover the two outside ones.
That probably needs to go into a min-width media query as the sizes will change when the screen is smaller than 1200. Or alternatively set up a few media queries and adjust the widths to match the items in the slider as shown in the slider settings.
Then in your js options set the wide screen to six across.
slidesToShow: 6,
Screenshot from your fiddle with changes above implemented.