Skip to main content
Answer

Can tags be hidden?

  • August 17, 2021
  • 6 replies
  • 451 views

Forum|alt.badge.img

I understand the usefulness of tags for search. However once a learner arrives at a video, the need to show the tags is not important. Is it possible to hide the tags?

Best answer by nick.tosto

You should be able to hide the tags with CSS. This code should hide it in the information area beneath the course player:

 

chapter-information .chapter-tags-wrapper {
display: none;
}

 

Just add that to the Custom Styles area in Configure Branding & Look and it should no longer show.

6 replies

Forum|alt.badge.img+3
  • Docebian
  • Answer
  • August 17, 2021

You should be able to hide the tags with CSS. This code should hide it in the information area beneath the course player:

 

chapter-information .chapter-tags-wrapper {
display: none;
}

 

Just add that to the Custom Styles area in Configure Branding & Look and it should no longer show.


Forum|alt.badge.img
  • Author
  • Novice II
  • August 17, 2021

Nick,

Three things:

  1. Thank you
  2. I hope you don’t rue the day I created an account here
  3. I need to put you on a retailer or Docebo should put you on the payroll for your assistance

Thanks again for the quick and accurate response.


gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • March 30, 2022

This is especially important when you forget to go back and delete bad tags.

The learner certainly does not need to see that...

Before CSS:

After CSS:

 


Forum|alt.badge.img

We have the new course player, which I assume is why this code isn’t working for us. I’m trying to find the CSS element that the new course player uses for the tags section, but I’m not having any luck. Any ideas?


gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • June 21, 2024

You should be able to disable now from within the admin section.

Hope that helps.

 

 


Forum|alt.badge.img

@gstager thank you! We don’t want to turn it off, as the searchability will be helpful, but we don’t want them visible on the courses. I think I found the right elements and got them to hide. Yay for exploring CSS!

 

lrn-course-player-widgets-area .lrn-course-player-lesson-tags-title {

  display: none !important;

}

lrn-course-player-widgets-area .lrn-course-player-lesson-tags

{

  display: none !important;

}