Skip to main content
Answer

Remove the Overlay in the Course Player

  • March 14, 2024
  • 4 replies
  • 123 views

markbrumley
Novice III

Hi! How do I remove or make transparent the overlay in the course player? I have tried all sorts of nonsense. 

I put this code in the Configure Branding and Look > Course Player area:

.lrn-course-player-training-material-idle-view-overlay {
    background-color: #ffffff;
    opacity: 0;
}

Doesn’t work. 😪 Please help!

 

Best answer by Bfarkas

Looks like it is just this:

.lrn-course-player-training-material-idle-view-overlay {
opacity: 0 !important;
}

That being said, please be careful here, as the reason for that layer is to help keeps things accessible for anyone with vision issues (which is basically everyone now a days) If the work behind it is too busy, or doesn’t give enough contrast to the white text and button, could be a nightmare for users to know what to do for a slight visual preference.

4 replies

JeanetteMcVeigh
Hero III
Forum|alt.badge.img+7

@Bfarkas is your guy...right Brian?  :-) 


Bfarkas
Hero III
Forum|alt.badge.img+6
  • Hero III
  • Answer
  • March 15, 2024

Looks like it is just this:

.lrn-course-player-training-material-idle-view-overlay {
opacity: 0 !important;
}

That being said, please be careful here, as the reason for that layer is to help keeps things accessible for anyone with vision issues (which is basically everyone now a days) If the work behind it is too busy, or doesn’t give enough contrast to the white text and button, could be a nightmare for users to know what to do for a slight visual preference.


markbrumley
Novice III
  • Author
  • Novice III
  • March 18, 2024

Thanks everyone! @Bfarkas and @JeanetteMcVeigh 

Good advice about the overlay...might just keep it.

Mark


  • Novice II
  • April 8, 2024

Hi all! Any idea how we can do this in the old player? I want to change the white strip into a different colour.