Custom CSS file
Hello, Simgallery by default does not match very well with my dark-themed site. So I want to make a custom.css file (just incase I need to update the component later). So I made custom.css in components/com_simgallery/assets/css, I'm curious which php file I need to direct it to that? And a little help with the code? Thanks.
Best Answer:
Hi
SIMGallery loads its stylesheets in the function loadScripts in the file components/com_simgallery/helpers/simgallery.php. However, if you modify that file, it'll get overwritten when you update again. I suggest you modify your template or create a system plugin to load any additional asset files you need.
Asked 9 years 10 months ago
•
Technical Support
•
2 answers