Home Support Square Slider, limit image height

This topic contains 2 replies, has 2 voices, and was last updated by  cscwp 1 week, 1 day ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #4675


    I have images for my slider that are below the recommended 1800×800 size. Currently the theme appears to be stretching to the maximum width. I would like to prevent the theme from stretching the images past a certain height (say 600px). I understand that this would create a gap on both sides when the screen width is wider than the image (assuming it stays centered). Is there a simple css or js modification that would limit the slider height to a maximum number of pixels (without breaking the adaptive size at smaller widths)?

    Thank you to the developers for designing and releasing this theme.



    Add this CSS to prevent it from stretching

    #sq-home-slider-section img{ width: auto;}



    Hi, Thank you for this fix, it works great. Can a similar change be applied to the Stack Images on the About Us panel of the homepage?

    • This reply was modified 1 week, 1 day ago by  cscwp.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.