Skip to main content
Best Answer

how to remove course ID from player


omer.bitas
Influencer I

HI can anybody advise on removing the ID code from the course player?

Ive tried using 

 

subtitle-block ng-star-inserted {

    display: none !important;

But it did not work. any help?

Best answer by gstager

Give this a shot and see if it works for you.

/** Remove ID from Course **/

span.subtitle-block.ng-star-inserted {
    display: none;
}

 

View original
Did this post help you find an answer to your question?

7 replies

gstager
Hero III
Forum|alt.badge.img+7
  • Hero III
  • 891 replies
  • Answer
  • March 16, 2022

Give this a shot and see if it works for you.

/** Remove ID from Course **/

span.subtitle-block.ng-star-inserted {
    display: none;
}

 


omer.bitas
Influencer I
  • Author
  • Influencer I
  • 73 replies
  • March 16, 2022

Worked great! thanks a lot!

any tips on how you knew that the span. needs to be included?

we are facing multiple places where we can’t find the right CSS specification to address the changes needed.

 

thanks again,


gstager
Hero III
Forum|alt.badge.img+7
  • Hero III
  • 891 replies
  • March 16, 2022

Well, technically, this should work as well…

/** Remove ID from Course **/

.subtitle-block.ng-star-inserted {
    display: none;
}

Without  span

What I noticed right away in the example you posted is that the decimals and the closing curly brace were missing which would be a culprit there.

You need a  .  to refer to a class and

a  #  to refer to an ID


Daniel
Hero III
Forum|alt.badge.img+3
  • Hero III
  • 439 replies
  • March 17, 2022

Thanks for this @gstager. I just applied it to our platform and it does the trick. 


Forum|alt.badge.img+1
  • Influencer III
  • 65 replies
  • November 1, 2023

Hi! Is there also a way to remove it from the course overview page - the one they land on and then click enroll?

 

 


gstager
Hero III
Forum|alt.badge.img+7
  • Hero III
  • 891 replies
  • November 2, 2023

@jsalinas - Give this a go

/** Hide course ID on page **/

span.course-info.text-grey-mid {
    display: none;
}

/** End hide course ID on page **/

 


Forum|alt.badge.img+1
  • Influencer III
  • 65 replies
  • November 2, 2023

@gstager Thank you so much! That seemed to work. I really appreciate your help and expertise! ~ Jennifer


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings