Skip to main content

Free CSS: Hide the Folders on the Training Materials page

  • August 8, 2022
  • 3 replies
  • 79 views

lrodman
Guide II
Forum|alt.badge.img+6

Do you find folders unnecessary on this page / do they mess up your mobile phone access to this page?

/*hide folders in course creation -> training materials tab*/
div.player-arena-overall-container div.row-fluid div.span4 {
visibility: hidden !important;
width: 1px !important;
}
div#player-lo-manage-panel.player-arena-board div.row-fluid.player-lo-manage-header div.span4 {
visibility: hidden !important;
}

 

3 replies

Bfarkas
Hero III
Forum|alt.badge.img+6
  • Hero III
  • August 8, 2022

Just a note for future folks, be careful as this references areas by count, i.e. span4, so is very susceptible to platform changes and individual environment changes which could result in different content disappearing. AS always, be careful.


lrodman
Guide II
Forum|alt.badge.img+6
  • Author
  • Guide II
  • August 8, 2022

Thanks! Any suggestions to further target it to just this page?


Bfarkas
Hero III
Forum|alt.badge.img+6
  • Hero III
  • August 8, 2022

Not sure if the general page has an ID, if it was a custom page then sure, but the issue would be on the page too. Say next month Docebo releases an update to this page and shifts the folder you are hiding to span5 and the new content is in span4, unless you are incredibly on top of your customizations, the folder you were trying to hide will be shown, and the new item will be hidden. You may not make the connection from the announcement as the features are not necessarily related. 

All falls into the technical debt and maintenance bucket. The more you tweak, the fuller the bucket and potential long term issues. SOme tweaks have higher risk of that then others, ones that rely on selecting the order of containers as exist today tend to be higher risk.