Looking for some assistance with my jQuery project involving a horizontal scrolling "marquee" text. I am currently trying to adjust the size of the gap between the phrases in the marquee. Here is an example with the phrase "HEY THERE".
jQuery(document).ready(function($) {
$('.marquee_text').marquee({
direction: 'left',
duration: 20000,
gap: 0, //adjust this value
delayBeforeStart: 0,
duplicated: true,
startVisible: true
});
});
.marquee_text {
color: #000000;
font-size: 10vw;
line-height: 1em;
font-weight: 800;
font-family: "Alliance No 2", Sans-serif;
position: relative;
transform: translateY(-50%);
}
.marquee-container{
overflow: hidden;
height: 11vw;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jQuery.Marquee/1.5.0/jquery.marquee.min.js"></script>
<div class="marquee-container">
<div class="marquee_text"> HEY THERE HEY THERE HEY THERE HEY THERE </div>
</div>