mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 03:03:01 +02:00
related to previous
@@ -1,7 +1,7 @@
|
||||
## Body classes and data
|
||||
|
||||
Classes and dataset have been added to the body tag of the gallery HTML.
|
||||
These classes and data allow specific pages to be selected when customising with CSS and Javascript. It will not appear in themes that have their own _header.tpl_ unless `class="{foreach from=$BODY_CLASSES item=class}{$class} {/foreach}" data-infos={$BODY_DATA}` is added to the body tag.
|
||||
These classes and data allow specific pages to be selected when customising with CSS and Javascript. It will not appear in themes that have their own _header.tpl_ unless `class="{foreach from=$BODY_CLASSES item=class}{$class} {/foreach}" data-infos='{$BODY_DATA}'` is added to the body tag.
|
||||
|
||||
It should look something like this:
|
||||
`<body id="{$BODY_ID}" class="{foreach from=$BODY_CLASSES item=class}{$class} {/foreach}" data-infos='{$BODY_DATA}'>`
|
||||
|
||||
Reference in New Issue
Block a user