Skip to main content

Has anyone hidden the Content and Additional Information tabs? If so, can you please share how you did it?

 

I don’t do this personally but give this a shot and be sure to test other areas.

 

/** Remove content tab from course info **/

div.mdl-tabs__tab-bar div:nth-of-type(2) a {
display: none;
}

/** Remove additional information tab from course info **/

div.mdl-tabs__tab-bar div:nth-of-type(3) a {
display: none;
}

 


@GingerG - I am curious to know if this worked for you.

I am happy dig into this a bit deeper if necessary.


Hey @gstager this worked but it has an unintended affect on the New Reports > View Options tab. When I add the code above, that tab disappears...when I comment it out, it re-appears…

When you have a chance, can you have a look to see what the issue might be? Thanks very much.


@lrnlab 

Happy to…

...but at the moment I seem to be having some other issues with my new reports page.

I cannot make a report in order to find this tab.

I will have to get that figured out first.

 


Oh no! always something isn't it...Thx again @gstager no rush...


@lrnlab 

I just reloaded my certificate and it went away.

Looks like I used something shared among multiple areas.

Try this adjustment to narrow it down. It cleared things up for my instance.

/** Remove content tab from course info **/

course-content div.mdl-tabs__tab-bar div:nth-of-type(2) a {
display: none;
}

/** Remove additional information tab from course info **/

course-content div.mdl-tabs__tab-bar div:nth-of-type(3) a {
display: none;
}

 


Thanks very much @gstager that seems to work...It maintained the View Options tabs on the reports screen. 😁


Hey @gstager had to remove this code again as I discovered it also hides the Sessions tab on the admin side for an ILT…but for some strange reason it works in prod. Sandbox was the issue.

What a crazy bunch of tags...lol...


Hey @gstager had to remove this code again as I discovered it also hides the Sessions tab on the admin side for an ILT…but for some strange reason it works in prod. Sandbox was the issue.

What a crazy bunch of tags...lol...

Bizarre -

Unfortunately, I don’t have sandbox, so I cannot reproduce and troubleshoot.


Reply