wiki:template:bootstrap3:tips:customize-theme

Bootstrap3 Template

Customize the theme

To customize the theme edit your conf/userstyle.css (or userall.css). Bootstrap3 theme provide a special class to <body/> to identify the current theme.

  /** Vanilla Bootstrap Theme */
 
  body.default .page-header {
    font-weight: 900;
  }
 
 
  /** Optional Bootstrap Theme */
 
  body.optional .img-responsive {
    display: inline-block;
  }
 
 
  /** Custom Bootstrap Theme */
 
  body.custom .btn-success {
    background-color: green;
  }
 
 
  /** Lumen - Bootswatch.com theme */
 
  body.lumen .navbar-default {
    background-color: red;
  }
  • wiki/template/bootstrap3/tips/customize-theme.txt
  • Last modified: 9 years ago
  • by Giuseppe Di Terlizzi