I
I
Islam Ibakaev2017-04-25 15:35:17
css
Islam Ibakaev, 2017-04-25 15:35:17

I do not understand why the slider is not initialized?

I sketched a working version in the sandbox
. When I add it to the project, it does not work correctly.
Posted the site code, what it looks like now included slick.js

in index.pug imported slick.scss in main.scss initialized in main.js Help me understand what's wrong. It seems that I did everything and there are no errors in the console.



Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Tutukov, 2017-04-25
@devellopah

8d8099105b314c58982a14a34e9e3827.png
it should be like this

#te-slider.te-slider
    .te-slider__item.container-fluid
    .te-slider__item.container-fluid
    .te-slider__item.container-fluid
    .te-slider__item.container-fluid

S
Sergey Savin, 2017-04-25
@serjsy

I advise you to make a slider in Google Designer . Very comfortably. Then the slider can be displayed through the iframe tag . The program is free by the way.

P
pirojok_yoyo, 2017-04-25
@pirojok_yoyo

did you include the js file of the slider itself?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question