Display thumbnails/navigation based on screen width?

Jer's Avatar


11 Jun, 2021 06:17 PM

Is it possible to display thumbnails/nav based on screen width?

I tried to do

     controlNavigation: (win.width() < 760) ? 'thumbnails' : 'none,
but it broke the slider...
  1. Support Staff 1 Posted by Dmytro Semenov on 12 Jun, 2021 03:52 PM

    Dmytro Semenov's Avatar


    Are you sure that win property is defined, maybe you meant window.innerWidth?

    You can hide the thumbnails via CSS (.rsNav element). Disable thumbs.fitInViewport option if you do so:

    thumbs: {
      fitInViewport: false

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac