content of the slider too big

mazzei.silvia's Avatar


07 Jan, 2018 10:20 AM

Hi, thank you for your plugin, I love it!
Im experiencing an issue: the content of the slider is bigger than the slider itself. I have tried to change the options in many ways, without success.
Here's my website, the problem as you will see, is with the main homepage slider

Do you have an idea how I can fix it?
thank you,

  1. Support Staff 1 Posted by Dmitry Semenov on 07 Jan, 2018 06:07 PM

    Dmitry Semenov's Avatar


    Size of slider viewport can be modified from Size & Scaling section, you're probably looking for auto-scale-slider option with width/height values that match size of your images

    If you have basic CSS knowledge, you may use this technique , which allows defining aspect-ratio just for the center slide (but not for the whole slider).


  2. 2 Posted by mazzei.silvia on 08 Jan, 2018 01:19 PM

    mazzei.silvia's Avatar

    Hi Dmitry, thank you.
    AutoScale is already enabled, with the correct proportion for the photos (I
    tried both 16x9 and 1200x675, the proportion an the effective size of the
    photos) but it didn't work.

    I have skills with CSS but apparently the style.css in my child theme don't
    override the royalslider css. I will try with !important, can you tell me
    the correct rule to oveeride to fix my problem?
    thank you so much,

    <> Sent with Mailtrack

    2018-01-07 19:07 GMT+01:00 Dmitry Semenov <[email blocked]>

  3. Support Staff 3 Posted by Dmitry Semenov on 08 Jan, 2018 01:57 PM

    Dmitry Semenov's Avatar

    Follow steps from , since you have enabled nearby-slides option - it distorts the ratio.

  4. 4 Posted by mazzei.silvia on 08 Jan, 2018 03:23 PM

    mazzei.silvia's Avatar

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