D
D
DeniSidorenko2017-10-11 15:38:26
JavaScript
DeniSidorenko, 2017-10-11 15:38:26

How to put your navigation on owl carousel?

Hello, as everyone knows, the buttons for the owl carousel can only be placed next to it. That is, navigation is a child element. Could you tell me how to make the navigation be a neighboring element in the DOM

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2017-10-11
@DeniSidorenko

When initializing the script, add the parameter:

$('.carousel').owlCarousel({
  ...,
  navContainer: ".navigation"
})

In the html code, add a block with the "navigation" class.
PS Study the documentation , there is a description of the parameters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question