End of Lesson Links

Re: End of Lesson Links

by Bob Gilmore -
Number of replies: 0
Picture of Particularly helpful Moodlers
When Boost was first introduced, a lot of activity buttons were unstyled. Most have been fixed, but not these.

They have the class of lessonbutton, but there seems to be no formatting applied. You can fix this yourself in the themes settings by adding some custom CSS.

Note that this will need to be removed when Moodle fixes the problem, so make sure you test it with each upgrade.

  • Site Admin > Appearance > Theme > Fordson
  • Click the colours tab
  • Scroll down to the bottom to locate Custom CSS
  • Paste the following code into this box.
#page-mod-lesson-view a.lessonbutton { display: inline-block; font-weight: 400; color: #212529; background-color: #ddd; border-color: #c1c9d0; text-align: center; vertical-align: middle; margin-left: .5rem; margin-top: .5rem; padding: .375rem .75rem; font-size: 1rem; line-height: 1.5; border-radius: 0; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
#page-mod-lesson-view a.lessonbutton:hover { text-decoration: inherit; color: #212529; background-color: #c8cfd6; border-color: #c1c9d0; }
#page-mod-lesson-view a.lessonbutton:not(:disabled):not(.disabled) { cursor: pointer; }


I haven't fully tested this everywhere, but it should fix those buttons. I've checked the other lesson buttons to be sure they don't break.