Ninja Slider / Posts /

Full size images for the image slider

4
How can I make the images 100% width and height regardless of ratio when I use Ninja Slider?
Xriuk  10 years ago   viewed: 10899    

2 Answers

1

Solved. Just edited the JavaScript. You replace every "contain" with "cover".

Xriuk   10 years ago
0

You don't need to touch the javascript. Just add inline style, style="background-size:cover;", to the markup as shown in my first post above.

Please also read How to customize a specific position and size for a responsive image in the slider?

Milo   10 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: