Adaptable theme: how to change the ticker title and speed?

Adaptable theme: how to change the ticker title and speed?

by Valentina Franzoni -
Number of replies: 3

Running Moodle 3.0.1

Adaptable theme 


The title of the Frontpage ticker is "ANNOUNCEMENTS", I would like to change it to an Italian word in small caps.

I would also like, if possible, to change the ticker speed.

What CSS should I add?


Thanks very much


http://edu.comunitamagnificat.org/my/

Attachment ticker.JPG
Average of ratings: -
In reply to Valentina Franzoni

Re: Adaptable theme: how to change the ticker title and speed?

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Valentina,

I am not sure what to do about the ticker speed, but to change ANNOUNCEMENTS to something else, can be done via Language Customization.

In reply to Valentina Franzoni

Re: Adaptable theme: how to change the ticker title and speed?

by D Riddel -

Hi, this is what I did to change the ticker duration:


1. Edit file [root folder]/theme/adaptable/jquery/tickerme.js

2. Find the code that resembles this:

  $.fn.tickerme.defaults = {
    fade_speed: 500,
    duration: 4000,
    auto_stop: true,
    type: 'fade',
    control_color: '#333333',
    control_rollover: '#666666'
  };
3. Change the 'duration' field to whatever you want. It's in milliseconds.