I
I
Ilya2017-10-23 11:53:10
Windows
Ilya, 2017-10-23 11:53:10

How to control image width in Slick slider?

Tell me how to control the width of images in Slick slider?
Here's the catch. Tweaked the page. Slider (scrolling one image at a time) in the block at 60% width. How to make it responsive? That is, so that when the screen is reduced, it would also decrease proportionally.
Now, when the screen is reduced, the slider does not decrease, but shrinks on the sides, cropping the picture. How to change it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
d-stream, 2019-07-24
@Dier_Sergio_Great

win -> sandb doesn't result in Windows Sandbox? (it is already calling itself "windows sandbox")
And yes, this will be the first step... the second one - it was not possible to start the Windows Sandbox with error 0x80070002
So far, one of the solutions seems to be to set the system language to english usa and then happiness should come .. .

K
Konstantin Tsvetkov, 2019-07-24
@tsklab

Installed the components "Windows Sandbox" and "Virtual Machine Platform".
You don't need a "platform". Naturally, you need to check that the virtualization function is enabled in the BIOS.

S
Sergey delphinpro, 2017-10-23
@gurzoof

Same as with other pictures.

.slick-slide img {
  display: block;
  width: 100%;
  /* or */
  max-width: 100%;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question