Thomas BP
Thomas BP

Reputation: 1227

TYPO3 Remove/Exclude news-basic.css from Extension News

Im working with the News(news) Extension for TYPO3 v. 6.1 Fluid/Extbase. it's working fine, but it's using the extension css file news-basic.css, how can I tell the extension that I don't want to use that Css file but I want to use my own main.css, that I allready is including.

I have read that it can be excluded, but I can't find anywhere to do that.

The issue is that some of the style in the css is making some issues in my main css. Its a funny comment: "."; tag, but I don't need the extensions css file at all.

Can someone guide me to a solution, how to exclude the EXT News added news-basic.css file.

Upvotes: 4

Views: 2523

Answers (1)

Daniel
Daniel

Reputation: 7036

There is a constant for this:

plugin.tx_news.settings.cssFile = EXT:news/Resources/Public/Css/news-basic.css

Just overwrite it with the path to your css file in the constants section of your root template like this:

plugin.tx_news.settings.cssFile = path/to/file.css

Or remove the whole css file output by adding that instead:

plugin.tx_news.settings.cssFile >

Upvotes: 4

Related Questions