Initiate Slider on pages on which Breeze is excluded #149
Unanswered
dheerajKsharma
asked this question in
1. Help
Replies: 1 comment
-
Are you using BreezeTheme? I think you need to add slick slider styles in this case because BreezeTheme doesn't use slick anywhere. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am able to initiate slick slider using https://breezefront.com/docs/cms-elements on breeze enabled pages.
But How to initiate slider on the pages which are excluded from breeze.
I am using default magento way like below, slider is generating but whole styling is a mess. Is there any other way to initialize the slider which will use correct styling?
require(['jquery', 'slick'], function($) { $(document).ready(function() { $(".product-slider").slick({ dots: true, infinite: true, slidesToShow: 3, slidesToScroll: 3 }); }); });
Beta Was this translation helpful? Give feedback.
All reactions