typoscript - Add custom class to body tag | TYPO3 -


i want add custom class body tag each page want, example: tag pages class <body class="tagclass">, main page class <body class="mainclass"> , detailed pages <body class="classdetailed">.

i`m using typo3 7.6.0 andi have installed on blog extention, blog extention pages want classes.

some examples or link helpful me.

by way post saw typo3 adding class body tag on specifc page isn`t want

given using 'page' typoscript contentobject page , have 2 different page trees, starts page id 10 , 20, can use following typoscript setup/configuration:

[pidinrootline=10]     page.bodytagadd = class="foo" [end]  [pidinrootline=20]     page.bodytagadd = class="bar" [end] 

Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -