Ninja Slider / Posts /

Full size images for the image slider

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

2 Answers


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

Xriuk   3 years ago

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   3 years ago


Your name*
(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: