2017 © Pedro Peláez
 

silverstripe-module silverstripe-bodycssclasses

Helper for page / controller specific styling

image

titledk/silverstripe-bodycssclasses

Helper for page / controller specific styling

  • Sunday, January 10, 2016
  • by titledk
  • Repository
  • 2 Watchers
  • 1 Stars
  • 236 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

silverstripe-bodycssclasses

Helper for page / controller specific styling, adding the class and parent classes of your pages to your body element. E.g. a CustomCalendarPage that extends CalendarPage would produce CustomCalendarPage CalendarPage., (*1)

That way any specific styles for CalendarPage will also apply for CustomCalendarPage., (*2)

Installation

Install via composer and add $BodyCssClasses to your body or, wherever you want it., (*3)

E.g.:, (*4)

<body class="$BodyCssClasses">

</body>

The Versions

10/01 2016

dev-master

9999999-dev https://github.com/titledk/silverstripe-bodycssclasses

Helper for page / controller specific styling

  Sources   Download

MIT

The Requires

 

css silverstripe styling