Skip to content

Instantly share code, notes, and snippets.

@SierraKomodo
Created January 9, 2019 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SierraKomodo/9e668b3067a3fc1c305f92a2088479da to your computer and use it in GitHub Desktop.
Save SierraKomodo/9e668b3067a3fc1c305f92a2088479da to your computer and use it in GitHub Desktop.
WorldAnvil - Hide Article Sidebars with CSS
/* Hide Sidebars In Articles
* With this CSS snippet, you can hide sidebars in your articles by adding `hide-sidebar` to the Additional CSS Classes
* field of the edit article page.
*/
.user-css-presentation .hide-sidebar .tab-content .col-md-4 {
display: none;
}
.user-css-presentation .hide-sidebar .tab-content .col-md-8 {
width: 100%;
}
.user-css-presentation .hide-sidebar .tab-content .col-md-8 .col-md-8 {
width: 66.6667%;
}
.user-css-presentation .hide-sidebar .tab-content .col-md-8 .col-md-4 {
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment