[TYPO3-english] [Typo3 7.6] wrapper around ce-element (tx_news)
Vikram Mandal
vikram at fivee.in
Thu Aug 24 17:14:17 CEST 2017
> or this (the <div id="c..."> is the outer tag in this example):
>
> <div id="c...">
> <div class="wrapper">
> <h2>Header</h2>
> <div class="news"> .... content is provided by the news extension, can
> be styled by fluid</div>
> </div>
> </div>
>
> I'm not sure which is the best approach but the wrapper should be only
> around the ce element with the news plugin included (for now).
>
> On top of that, I would like to wrap the <h2> tag inside another div as
> well, so that it looks like this:
You can do so by altering the news extension templates. Look inside
/typo3conf/ext/news/Resources/Private/Templates/News/
- copy the files which you want to alter to a dir inside fileadmin
- make changes
- set this new path as news template path in the TS
Vikram
--
=============================
http://T3IN.COM
FiveE Technologies.
=============================
More information about the TYPO3-english
mailing list