By frédérick delaire on Thursday, 26 October 2017
Posted in Technical Issues
Replies 1
Likes 0
Views 785
Votes 0
Hi !

There are some conflicts between EasyDiscuss CSS and my template CSS.
To resolve it, I included the EasyDiscuss CSS in my template's styles (I use SASS/COMPASS), so I can edit, add or remove CSS to make EasyDiscuss looks perfect.
To make it work, I need to disable EasyDiscuss style (that way it does not load a CSS that I don't use).

I tried this https://stackideas.com/forums/creating-css-overrides / https://stackideas.com/forums/adding-extra-theme-in-easydiscuss but it does not work. As those topics are old, maybe the new version of easydiscuss works differently.

Is there any updateproof way to disable the core CSS ?

Thanks ?
(I use the very last version of EasyDiscuss as I downloaded earlier today. On joomla 3.7.5)
Hey Frédérick,

We don't currently have a way to completely disable css from being rendered in EasyDiscuss. However, if you are a developer and you know exactly what you are doing, you could edit the file /administrator/components/com_easydiscuss/includes/easydiscuss.php and at line 66, remove the codes below:

[gist]
// Attach the stylesheets
$stylesheet = ED::stylesheet($location);
$stylesheet->attach();
[/gist]

This would cause EasyDiscuss to not render any stylesheets at all.
·
Thursday, 26 October 2017 23:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post