Reputation: 5619
My TYPO3 ver.: 7 renders the content element header as h2
and not as h1
... how can I solve this issue?
Upvotes: 1
Views: 3670
Reputation: 1
If you are using the Bootstrap-Package, goto: Templates > Constant Editor > BOOTSTRAP PACKAGE: CONTENT ELEMENTS > Header
Edit the following constant: plugin.bootstrap_package_contentelements.header.defaultHeaderType = 1
Upvotes: 0
Reputation: 8845
The typoscript you showed sets the default header level to 2 aka <h2>...</h2>
styles.content.defaultHeaderType = 2
You can change this behavior by changing that value via typoscript
styles.content.defaultHeaderType = 1
This setting needs to be done in the constants field of a typoscript template.
A little more information can be found at https://buzz.typo3.org/people/ron-hall/article/changing-the-default-header-for-content-elements/
Upvotes: 11