Wrap content data with typoscript

Wrap content element with typoscript

Removing the default TYPO3 content div class or replacing that with another one is sometimes crucial in the development process.

The neccesity to edit the class comes when you have to transfer a html & css template to TYPO3. Doing so can be a challange for a new TYPO3 Developer.

But actually it's pretty simple and it's done throw some TypoScript configurations.

Remove the actual TypoScript wrapping

The code below shows how to remove the actual default div wrapping

tt_content.stdWrap.innerWrap >
tt_content{
   stdWrap {
      innerWrap = <div class="className">|</div>
  }
}
Get updates by e-mail