.vertical { div.jslider-label { top: -5px; margin-left: 22px; &.jslider-label-to { top: 100%; left: inherit; right: inherit; margin-top: -5px; } } }