By LAC Webadmin on Wednesday, 03 May 2017
Posted in Technical Issues
Replies 3
Likes 0
Views 476
Votes 0
Hi There,

I just upgraded to the latest ES v2.0.17 and going to the override route as you guys suggesting instead of creating my own theme. So, I went to modify custom/default.less and it created a copy on my template:

<template>/html/com_easysocial/styles/custom/default.less

Then I went to load http://site.com/index.php?option=com_easysocial&compileCss=1 as mark suggested to force ES to recompile theme css. It seems to recompile but it does not include my default.less override.

Why?

Thanks,

Jackson
Thanks for your input, we will see if that is possible to implement this in the future.
·
Thursday, 04 May 2017 12:38
·
0 Likes
·
0 Votes
·
0 Comments
·
When you recompile the css on Easysocial page, it will not include those compiled css in this default.less file.

What my suggestion is move all of your custom css into this template directory folder -> JoomlaFolder/templates/YourCurrentTemplate/html/com_easysocial/css/custom.css

So it will load this custom.css file on the page.

Documentation : https://stackideas.com/docs/easysocial/administrators/templating/adding-custom-css-codes
·
Wednesday, 03 May 2017 12:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks for the tip.

By the way, I was following ES Theme feature where you can edit the theme files and when editing less or css file it will auto create an override folder in the default template folder but it will follow the theme folder structure. In my case, when I editing custom.css it created:

joomlafolder/default_template/html/com_easysocial/styles/custom.css

And you're saying it has to be:

joomlafolder/default_template/html/com_easysocial/css/custom.css

Your folder suggestion works by the way. But I think you guys have to update ES underlying code when css is edited else it is a useless feature. And by the way, why not make less work as well? When there is a less override, the compiler should use the override instead.

Thanks,

Jackson
·
Thursday, 04 May 2017 02:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post