Marquee changes direction at some point, even though its set to "left"
-
Huhu,
the marquee is set to direction="left" but at some point it automatically changes to right, and i can't figure out why :(
i tried adding the loop property in the hope that it will solve it, but didnt do the trick unfortunately.
Do you guys by any chance know how to solve it?this is the snippet we use:
<marquee direction="left" behavior="alternate" loop="true" style="color: black;font-size:13px;font-family: Open Sans;font-weight: 600;">
looooong ass text
</marquee>thankuu :)
-
Dear @kimberlyxx
I looked into the ' behavior"alternate" :
"Alternate:
This lets the Marquee text to alternate between scrolling and sliding i.e., Starts from one end and on reaching opposite end it moves in the opposite direction"I would remove this to stop it reaching the end and then changing direction:
<marquee direction="left" loop="true" style="color: black;font-size:13px;font-family: Open Sans;font-weight: 600;"> looooong ass text that hopefully now goes the correct direction for you :) </marquee>NOTE:
<marquee> use is generally outdated now and modern browsers may stop using it in the future :)Hope this helps and have a wonderful day, thanks for using Lay Theme!
Best
Richard -
Thank youuu :)
-