Jump to content

Recommended Posts

Updated to allow text to be added in admin.

A simple add-on to place a moving promo text header on your site.

Based on js script by Fabian Valle (https://github.com/conradfeyt/Simple-Marquee)

This uses a little js to add an old school marquee on the header. It’s simple and easy to use, you can add as many or as few messages as you like. It’s been set up with six on a slow move to keep it low key.

Text can be changed in admin.

You can change the css to suite your site. I would not recommend playing with the js unless you know what you are doing. The speed can be sped up or slowed down changing this line in the ext/js/marquee.js file.

Line 317 duration: 200000,

It’s responsive but as you might imagine not going to be easy to read on small screens. It has therefore been disabled on small screens, If you need it to show then in template file remove or comment out the following code

in the <style >section

@media only screen and (max-width: 479px) {
.simple-marquee-container{ display: none !important; }

Again totally standalone with no core code change. Simply copy all files into relevant sections and go to admin modules /content modules and install.

can bee see on test site. works on CE BS3 or BS4



That’s it Enjoy.



Edited by JcMagpie


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now