0

Is there a more clean approach? How do I position the progress bar to be on the very bottom of the introjs-tooltip? Here is my CSS, and what I desire should look like this.

.introjs-progress {
    width: 112%;
    opacity: 1;
    margin: 0;
    bottom: -65px;
    position: relative;
    left: -25px;
}

Right now, my progress bar is stock layout, it's under the steps intro text and above the steps buttons. This is what it looks like: notice the bar is above steps

Wishing you good health, wealth and wisdom in 2017 - happy new year from me to you! GLHF

Uncle Iroh
  • 137
  • 1
  • 12

1 Answers1

0

Use absolute positioning on progress element and add a little extra bottom padding to it's parent tooltip for aesthetics.

.introjs-tooltip {
    padding: 10px 10px 14px 10px;
}

.introjs-tooltipbuttons, .introjs-tooltiptext {
    text-align: center;
}

.introjs-progress {
    overflow: hidden;
    position: absolute;
    height: 5px;
    bottom: 0;
    left: 0;
    width: 100%;
    /* margin: 10px 0 5px 0; */
    /* border-radius: 4px; */
    background-color: #ecf0f1;
}
Serg Chernata
  • 12,280
  • 6
  • 32
  • 50