Hide No. of Students

Home Forums Legacy Support Support queries How-to & Troubleshooting Hide No. of Students

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #197405
    hashur
    Participant
    Hello: Although I have a course template that should not show the no of students enrolled, it still show up in widgets and blocks. How can I have the no. of students not be seen except by admin (or no one) see ex. https://pdhsource.com/webinars-schedule/ see the widget on right side: https://pdhsource.com/course/retaining-walls-and-excavation-support-systems/ I have this code pasted in customize, .single-course #buddypress div#item-header div#item-meta .students{display:none !important;} Thank You
    #197406
    hashur
    Participant
    This reply has been marked as private.
    #197448
    logan
    Member
    Hello Yes that code works to hide the no. of student in the course meta. you can show fake no. of students enrolled in a course by going through the course edit in backend and refer this setting http://prntscr.com/mn104f. for another question the answer is: Please goto wp-admin > lms > settings > course setting > add items from here. Refer: http://prntscr.com/mn11hh
    #197542
    hashur
    Participant
    Logan: Thank You. I don't want to show the no. of students, the code does not work in widgets or blocks, please see the two examples: https://pdhsource.com/webinars-schedule/ https://pdhsource.com/course/retaining-walls-and-excavation-support-systems/
    #197641
    logan
    Member
    Hello, This could be hidden only with the css. Refer: http://prntscr.com/mnlcxj Change the block style from wp-admin > wplms > course manager > change the block from here : http://prntscr.com/mnlfi6 Else i can share the custom code to hide these elements.
    #197723
    hashur
    Participant
    Logan: Thank You I tried to change block from course manager, no difference, nothing chagned. Can you send the code to hide the no of students. Thank You very nuch  
    #197828
    Ava
    Member
    Hi Please add the below custom css code to Wp-admin > Appearance > Customization > Custom Css > Publish .block.courseitem .block_content .instructor_course+strong{ display:none !important; }
    #197901
    hashur
    Participant
    Works Fine Thank You Topic can be closed.  
    #197938
    logan
    Member
    Hey There, Voila ! If I can be of assistance, please do not hesitate to contact me again. Closing this topic. Best regards :)
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Hide No. of Students’ is closed to new replies.