MD Slider Version: 2.17
Files: sites/all/modules/contrib/md_slider/includes/md_slider.utils.inc, sites/all/modules/contrib/md_slider/templates/front/theme.front.inc
Hello,
I'm having issues with padding not automatically adjusting when on a mobile device. In version 2.14, the padding would automatically adjust from the resizePadding() function in md-slider.js. In order to get the padding working again, I had to comment out lines 134-144 in md_slider.utils.incand add the following lines of code back into theme.front.inc from version 2.14 at line 234.
if (isset($element['paddingtop']) && $element['paddingtop'] > 0) { $output[] = "data-padding-top='{$element_full['paddingtop']}'";}if (isset($element['paddingbottom']) && $element['paddingbottom'] > 0) { $output[] = "data-padding-bottom='{$element['paddingbottom']}'";}if (isset($element['paddingleft']) && $element['paddingleft'] > 0) { $output[] = "data-padding-left='{$element['paddingleft']}'";}if (isset($element['paddingright']) && $element['paddingright'] > 0) { $output[] = "data-padding-right='{$element['paddingright']}'";}
Hi,
Please update our latest version of mega slider and see if it works. It is 2.18 now.
You can download it from your account page in forum (http://megadrupal.com/user/nikadevs).