Slider on laptop looks too big

danidunca's Avatar

danidunca

30 Apr, 2019 05:49 PM

Hello Dmitry!

On my laptop screen (1366x768) my sliders are too big and the pictures are out of frame, as you can see in the first attached screenshot. On my desktop pc (1920x1200) slider looks perfect (attachement no 2).

Is there any solution for the laptop? I want the slider to be smaller and not to stretch so much on the page.

Thank you and, once again, congrats for this wonderful plugin! It helps a lot ;)

  1. Support Staff 1 Posted by Dmitry Semenov on 30 Apr, 2019 06:26 PM

    Dmitry Semenov's Avatar

    Hello,

    If width of the slider is set to 100%, it will be the same size as its parent container, which is controlled by your theme.

    If your theme does not have an option to adjust its layout, you may set maximum width to slider via CSS, for example:

    .royalSlider {
      max-width: 600px;
      margin: 0 auto; /* center */
    }
    

    Add styles to your theme custom CSS option, or style.css file.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • Screenshot_from_2019-04-30_20-38-30.png 817 KB
  • 1.JPG 206 KB

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

Generic

? 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