Fel*_*lix 1 typo3 typoscript typo3-6.2.x
我的TYPO3版本:7将内容元素标题呈现为h2而不是h1......如何解决此问题?
您显示的typoscript将默认标题级别设置为2 aka <h2>...</h2>
styles.content.defaultHeaderType = 2
Run Code Online (Sandbox Code Playgroud)
您可以通过typoscript更改该值来更改此行为
styles.content.defaultHeaderType = 1
Run Code Online (Sandbox Code Playgroud)
此设置需要在typoscript模板的常量字段中完成.
有关更多信息,请访问https://buzz.typo3.org/people/ron-hall/article/changing-the-default-header-for-content-elements/