Best Answer

CSS to remove upload doesn't seem to work

  • 4 January 2024
  • 7 replies
  • 40 views

I tried the remedy suggested here: https://community.docebo.com/html%2Dcss%2D49/hide%2Dassignment%2Dsubmission%2Dscreen%2Doptions%2D325 for a specific course but it doesn’t work. 

 

Any suggestions?

icon

Best answer by Bfarkas 17 January 2024, 21:02

View original

7 replies

Userlevel 7
Badge +7

are you trying to apply it to the new course player? We may need new CSS for that.

Honestly I don’t know! How can I tell? 

Userlevel 7
Badge +7

if you are a superadmin, go to Configuration and Branding (from the root only) and you will see something like this. If it says “enter the preview mode” then it’s not on for you (or the full site)

 

Oh dear. I can see exactly that. 

 

Which  clever person can we ask for an up to date CSS?

 

Thanks

Userlevel 7
Badge +7

Pulling on my best CSS guru @gstager who always comes through...no pressure! LOL

Userlevel 7
Badge +5

@kenamillard - when you used the suggestion from the link you posted - did you use 312 as the ID or did you change it?

Userlevel 7
Badge +3

I outlined how to hide in the new player in this thread:

If you want to make it course specific, you need to add ‘.lrn-course-player-<COURSE NUMBER>’ before it. So for example, to just hide the file upload on course 132 it would be:

.lrn-course-player-132 .dcb-te-player-assignment-button-wrapper:has([data-dcb-ui-described-by="dcb-te-player-assignment-upload-options-0-upload-button-details"]) {
display: none;
}

 

Reply