dev-master
9999999-dev https://github.com/titledk/silverstripe-bodycssclassesHelper for page / controller specific styling
MIT
The Requires
css silverstripe styling
Helper for page / controller specific styling
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)
Install via composer and add $BodyCssClasses
to your body or, wherever you want it., (*3)
E.g.:, (*4)
<body class="$BodyCssClasses"> </body>
Helper for page / controller specific styling
MIT
css silverstripe styling