Question

Content Tab and Additional Information Tabs


Userlevel 5
Badge +3

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

 


9 replies

Userlevel 7
Badge +5

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;
}

 

Userlevel 7
Badge +5

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

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

Userlevel 7
Badge +7

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.

Userlevel 7
Badge +5

@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.

 

Userlevel 7
Badge +7

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

Userlevel 7
Badge +5

@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;
}

 

Userlevel 7
Badge +7

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

Userlevel 7
Badge +7

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...

Userlevel 7
Badge +5

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