So ive spent all day on this already. Im trying to make Marquee 3000 go from right to left. On a section containing icons. The html structure looks like this :
This is my javascript:
`// Enqueue the Marquee3k script
function enqueue_marquee3k_script() {
wp_enqueue_script('marquee3k', get_template_directory_uri() . '/js/marquee3k.min.js', array(), null, true);
}
add_action('wp_enqueue_scripts', 'enqueue_marquee3k_script');
// Add inline script to initialize the Marquee3k library
function add_inline_script_for_marquee() {
echo '
With the following attributes it should go from right to left. I am using marquee3k.min.js and i am using Elementor page builder.
This is the website wita.cfolks.pl , its a purple section, cant miss it, its moving.
I tried adding attributes inside the element which are:
data-speed|1
data-pausable|true
data-reverse|false
The website : wita.cfolks.pl
So ive spent all day on this already. Im trying to make Marquee 3000 go from right to left. On a section containing icons. The html structure looks like this :
This is my javascript: `// Enqueue the Marquee3k script function enqueue_marquee3k_script() { wp_enqueue_script('marquee3k', get_template_directory_uri() . '/js/marquee3k.min.js', array(), null, true); } add_action('wp_enqueue_scripts', 'enqueue_marquee3k_script');
// Add inline script to initialize the Marquee3k library function add_inline_script_for_marquee() { echo '
} add_action('wp_footer', 'add_inline_script_for_marquee');`
I am using it in code snippets.
With the following attributes it should go from right to left. I am using marquee3k.min.js and i am using Elementor page builder.
This is the website wita.cfolks.pl , its a purple section, cant miss it, its moving. I tried adding attributes inside the element which are: data-speed|1 data-pausable|true data-reverse|false
Please help