WebDev WebDev - 1 month ago 12
PHP Question

Disable wrap in base class TYPO3

I have installed plugin news. It is generating such html:

<div id="c69" class="csc-default">
<div class="news">
....
</div>
</div>


But I want remove this wrapping. I don't have it in my templates. They are generated automatic. How can I do it? Typo3 version 7.6.6

Answer

You can disable using TypoScript

tt_content.stdWrap.innerWrap >

Put above line in your Template > root template > Setup

It'll give you clean HTML output as your layout without default wrap of css_styled_content. or if you see classes with extension related then must be from extension which you used. In extBase structure you'll find ext_key/Resources/Private/Layouts and Templates.