Skip to content

titledk/silverstripe-bodycssclasses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

That way any specific styles for CalendarPage will also apply for CustomCalendarPage.

Installation

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

E.g.:

<body class="$BodyCssClasses">

</body>

About

Helper for page / controller specific styling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages