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 :)
-
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it