Custom background in a Lesson

Re: Custom background in a Lesson

by Ana Martins -
Number of replies: 0

Hi there,

I have Moodle 2.6+ (Build: 20131205) and is also not working.

Almost 99% sure is something I'm doing wrong.

But I just don't know what...

The picture is at the Theme's Pix folder and I've added this to the styles.css at mod/lesson


.path-mod-lesson .region-content {background-image: url([[pix:theme|lessonbackground]]);

Question 1

Does it have to be .jpeg / .jpg?

I'm using .png because it has a transparent background, is sword of like a watermark. That might be one of the reasons.


Question 2

I can't get the progress bar color to change from green to blue, it simply won't change.

What am I doing wrong?

.path-mod-lesson .progress_bar_completed {background-color:green; text-align:right; vertical-align:middle; color:#FFF;}


tried:

.path-mod-lesson .progress_bar_completed {background-color:blue; text-align:right; vertical-align:middle; color:#FFF;}


Thank you for your help in advance