Okay
  Public Ticket #363188
nectar slider
Closed

Comments

  • juan started the conversation

    I can't overwrite the height on nectar slider. I would like to add media query to target min-height 1300px and change the height to 850px. & I would like to do the same for max-with 480px. I would like to call a different image. The fluid style does not work for all dimensions.

    Do you know which file shoul I edit?
    Do you know which classes I need to modify.

    Thanks!



  •  8,847
    Tahir replied

    Hey!

    Please try using the Flexible Slider Height option in Nectar Slider.

    Also when using the flexible slider height option you have to enter the slider height based on how big your images would be at 1600px width - this will ensure the scaling is perfect with no clipping. To find the correct height for your images use this: http://andrew.hedges.name/experiments/aspect_ratio/ . The default width for images is 1600px so for example a image that is 1904 x 738px would be converted to 1600 x 620px if scaled down. Therefore slider height would be set to 620 px .


    The flexible slider height option makes the Nectar Slider respond perfectly to ensure there's no clipping on any view - leaving it off will cause the height of the slider to change only once per every viewport change (desktop, ipad, mobile) and clip variously between them.
    Thanks


    ThemeNectar Support Team