R
R
Rostra2015-11-12 00:22:12
JavaScript
Rostra, 2015-11-12 00:22:12

How to prevent the block with the script from moving (scrolling is required in the mobile version, but not in the full version)?

In general, the Slick script is connected to the block. But on the full version of the site, the block should not move, but in media only it should.

What needs to be done in css in the full version so as not to spoil the mobile one?

position does not help, I know that it is possible with the help of important, but how exactly xs

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Che, 2015-11-12
@chewarer

Add a class corresponding to the device type to the Body. And then in the slider script in the selector specify the class corresponding to the mobile device.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question