P
P
pavlikmd2016-04-22 20:42:35
Slider
pavlikmd, 2016-04-22 20:42:35

How to make a horizontal slider with vertical thumbnails?

Hello, there is a layout in which 4 people are displayed in the "Guide" block, there are switching arrows below, when you click on the arrow to the right, the next 4 people should be shown. 770e5c1182374cb68dc463c1b92779bf.jpgI thought to try with owl-carousel, but somehow it didn't work.
I came up with three solutions:
1) Somehow make a cycle so that every 4 articles are wrapped in a div block with the "slide" class (but it seems to me that this is not realistic)
2) Maybe there is some function in owl-carousel to make these 4 people were displayed not horizontally but vertically
3) Connect generally another script that can implement this

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2016-04-22
@pavlikmd

1. Why not real?
add a counter to the loop and modulo the value of the counter in each iteration by 4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question