Closed (fixed)
Project:
Slick Carousel
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2017 at 13:31 UTC
Updated:
27 Sep 2018 at 20:59 UTC
Jump to comment: Most recent
Comments
Comment #2
anni commentedComment #3
gausarts commentedArrows are being enforced regardless Arrows option. This allows responsive option to enable or disable this accordingly.
So the basic markups should be there, unless you empty
prevArrowandnextArrowoptions:http://cgit.drupalcode.org/slick/tree/templates/slick.tpl.php?h=7.x-2.x#n28
You can view existing default and copy over the
prevArrowandnextArrowmarkups if yours are emptied by mistake.Other potential issue:
If you are having issues with it, please install Slick example and see how it goes.
Comment #4
anni commentedSadly the arrows option was empty.
I fixed it by putting some code in these areas. In my example:
<button type="button" data-role="none" class="slick-prev slick-arrow" style="display: block;"><i class="fa fa-chevron-circle-left" aria-hidden="true"></i></button>and
<button type="button" data-role="none" class="slick-next slick-arrow" style="display: block;"><i class="fa fa-chevron-circle-right" aria-hidden="true"></i></button>Thank you for your help.
Comment #5
gausarts commentedI recommend using CSS pseudo selector to assign custom arrow styling. This allows you to override Slick CSS more properly.
No need to touch template files for this particular issue.