carouFredSel responsive height

前端 未结 14 716
一整个雨季
一整个雨季 2021-01-30 11:46

i am having height problems of my responsive carousel using carouFredSel.

since the images are responsive and the carousel is also set to responsive.

It still ad

14条回答
  •  爱一瞬间的悲伤
    2021-01-30 12:20

    height: "auto" means that the height of the carousel will be as height as the highest item inside including non visible items as well! In responsive mode only the height of the visible items will be changed so the height of the carousel will be still the same. (None visible items won't be changed.)

    You should use height: "variable" instead which automatically resizes the carousel depending on the height of the visible items only.

    More to find in the specs: http://caroufredsel.dev7studios.com/configuration.php

    Hope this helps. Regards Dirch

提交回复
热议问题