Jump to content
Latest News: (loading..)
Sign in to follow this  
JcMagpie

Support thread for JcM NavBar promo text CE

Recommended Posts

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 five on a slow move to keep it low key. Simply edit the template file to change the messages. To add more just edit the HTML, it nice and simple just copy exiting code as required.

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.

That’s it Enjoy.

image.thumb.png.3226441c4f83db39c3dd68a6e901d48a.png


 

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
Sign in to follow this  

×