EduardET

change slider bg image

Jan 8th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.71 KB | None | 0 0
  1. @media(max-width: 1024px) {
  2.     .wpc-slider .et_pb_slides .et_pb_section_video {
  3.         background-image: url("the url of the image designed for tablets in landscape mode");
  4.     }
  5. }
  6. @media(max-width: 980px) {
  7.     .wpc-slider .et_pb_slides .et_pb_section_video {
  8.         background-image: url("the url of the image designed for tablets in portrait mode");
  9.     }
  10. }
  11. @media(max-width: 767px) {
  12.     .wpc-slider .et_pb_slides .et_pb_section_video {
  13.         background-image: url("the url of the image designed for phones in landscape mode");
  14.     }
  15. }
  16. @media(max-width: 480px) {
  17.     .wpc-slider .et_pb_slides .et_pb_section_video {
  18.         background-image: url("the url of the image designed for phones in portrait mode");
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment