Best Answer

Instructor Widget on Course Page

  • 26 April 2023
  • 2 replies
  • 68 views

Userlevel 5
Badge

Is there a way to hide the EMAIL function for Instructors in the Instructor widget on the Course Page?  The way the email works, it exposes our instructors’ personal emails and we do not want our Learners to be able to email instructors directly (without going through the platform, etc.).  Is there a way in CSS to HIDE the Email icon maybe?  

@Bfarkas I know you have worked some magic with similar “hide” functions in CSS.  Any thoughts?   

icon

Best answer by lrnlab 26 April 2023, 23:20

View original

2 replies

Userlevel 7
Badge +7

had to dig this out...we added that CSS a while but for some reason it does not appear under our CSS updates...checked the widget and the email does not appear so somehow it’s still working…

try it out:

 

/*Hide Instructor email option*/

a.fa.fa-envelope.fa-lg {

display: none;

Userlevel 5
Badge

So, I’m becoming pretty good at hunting CSS fixes.  Here is what I did to resolve (hide the email icon and ability to email instructor for our use case): 

 

/*Hide Instructor Email Icon*/  

        .myinstructor-icon {

            display: none;

        }

 

Reply