Download & Extend

Add css margin value when item width set in flexslider optionset

Project:Flex Slider
Version:7.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

Setting the item margin in the option set doesn't set a margin on the slide items.

Comments

#1

This is apparently the way the FlexSlider library works, by design. Margins are supposed to be set in CSS, and the "itemMargin" property merely informs FlexSlider of the margins so it can calculate carousel movement and sizing properly.

Perhaps we could have the Drupal module to generate the appropriate CSS style if an itemMargin is given in the optionset, but that'd be a new feature. In the mean time, I've committed an update to the description on the admin page.

#2

Status:active» needs review

#3

Title:Item Margin value not being respected in slider» Add css margin value when item width set in flexslider optionset
Category:bug report» feature request
Status:needs review» postponed
nobody click here