0

I use bootstrap tour but i dont no how to change the arrow to top.

Anyone can tech me to change the arrow to top?

As per screenshot below.

This is script for bootstrap tour.

var tour = new Tour({
    placement: "top",
    storage: false,
  steps: [
  {
    element: "#revision",
    title: "TEST",
    content: "TEST. . . "
  }
]});

tour.init();
tour.start();
Nere
  • 4,097
  • 5
  • 31
  • 71
Faizzul Hariz
  • 81
  • 1
  • 9

3 Answers3

1

change your div class to popover tour-tour fade bottom in,change your placement top to bottom

pigletfly
  • 1,051
  • 1
  • 16
  • 32
1

Just add the 'placement' property like that:

steps: [
{
    element: "#revision",
    title: "TEST",
    content: "TEST. . . "
    placement: top
}

]

Tom Baum
  • 23
  • 5
-1

This div gets created <div class="arrow"></div> try editing the CSS on that class in the bootstrap.css file.

Joshua Terrill
  • 1,995
  • 5
  • 21
  • 40