G
G
gomer17262016-01-31 10:51:15
PHP
gomer1726, 2016-01-31 10:51:15

How to split a block into two? there is navigation and the content needs to be divided into two blocks, how to do it?

This is a partner block
It is necessary that there are 4 pictures on one line
And when you click on the arrow, others are displayed
And here 2 extra pictures

while(have_posts()){
   <div class="item active">
       <img src="<?php kartinka ?>">
    </div>
}
<div class="item">
  <img src="<?php kartinka?>">
</div>

I must say right away that the code is not real, since it is long, it is just an example of that code
. And here is the picture
a044855d23414316aeb3e4485998d714.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Tretyakov, 2016-01-31
@babulja

Look towards carousel scripts, for example kenwheeler.github.io/slick .
There are a lot of demos, I'm sure this is what you wanted. And by the way, it does not require any knowledge
in JavaScript, you can insert and change the design as you like.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question