By LAC Webadmin on Saturday, 18 November 2017
Posted in Technical Issues
Replies 1
Likes 0
Views 515
Votes 0
Hi There,

Is it possible to load theme custom.css with version enabled?

It's just because since this is an override, it might be updated often and it's hard to explain to people/users to clear their browser cache to get the updated style.

Thanks,

Jackson
Hi Jackson,

Is it possible to load theme custom.css with version enabled?


Currently EasySocial do not support custom.css with versioning I will check with the development to see if adding version to template custom.css will cause any side effect or not.

For now, if you really need to add the version, you can edit this file 'JOOMLA/administrator/components/com_easysocial/includes/stylesheet/stylesheet.php' and look for below code at line 817:


$customCssFile = $this->baseurl . '/templates/' . $this->app->getTemplate() . '/html/com_easysocial/css/custom.css';


and replace the above with:


$customCssFile = $this->baseurl . '/templates/' . $this->app->getTemplate() . '/html/com_easysocial/css/custom.css?version=2.1.5';


Hope this help and have a nice day
Sam
·
Saturday, 18 November 2017 14:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post