I have been looking through the documentation and forums and have found old posts relating to customising the CSS, but I have found nothing that relate to SuiteCRM v8.*.
Is there a directory where I can add a CSS file which can add/modify some styles?
So far, I have found that styl.css in suitecrm/public/legacy/themes/suite8/css/Dawn/ appears to be the main stylesheet, but any edits in here will be overwritten by an update.
Can someone please help me to find out the correct way to add CSS?
I deleted the cache/prod folder and cleared all the other caches, but I don’t have access top the command line.
At this point, the stylesheet I created at suitecrm/public/legacy/custom/themes/suite8/css/Dawn doesn’t seem to be called as the styles are not having an effect.
EDIT
I might add that any changes I make to suitecrm/public/legacy/themes/suite8/css/Dawn/style.css show up immediately with a simple refresh in the browser which is why I don’t think the custom stylesheet is even being called.
The only way I’ve been able to get custom CSS to show up in SuiteCRM 8 is to turn on developer mode. Not sure if it’s a caching issue in SuiteCRM or my browser cache. I’ve done a grep and change the CSS reference everywhere in SuiteCRM and it still doesn’t apply to the front end unless I turn on developer mode… watching, looking for a solution!
This does not seem to have an effect and I cannot find it when I check the CSS using the browser’s Dev Tools.
When I edit the core file at
/public_html/suitecrm/public/legacy/themes/suite8/css/Dawn/style.css
I can see the changes as show in the attached screenshot of the Dev Tools.
BTW, I have Developer Mode enabled and changes I make to the core CSS are visible immediately, but I cannot see the overrides from the custom stylesheet.
Are you using chrome browser? Now delete cache/themes folder and Click F12 on chrome window then right click on refresh icon and do empty cache and hard reload
Is it possible that the issue is related to file permissions?
I installed using softaculous within cPanel and there are other issues including cron jobs not running even after following the instructions linked to by rsp in this thread.
I wonder if there are several issues that are related?