I see references to Admin -> Settings -> Advanced Settings -> Edit CSS or Admin - Settings -> Edit CSS but I don't see this in 7.1.2. How do I do this? Am I missing something?
I see references to Admin -> Settings -> Advanced Settings -> Edit CSS or Admin - Settings -> Edit CSS but I don't see this in 7.1.2. How do I do this? Am I missing something? |
/templates/[template]/css
Remember to clear Dolphin's cache after editing any template files. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I remember the first time I looked at the edit css in 7.0.9; and only seeing @import. Current methodology in CSS3 is to not use @import. It would be nice to have an online CSS editor back in Dolphin, that I can pull up the CSS files for a template to make some quick edits. This is certainly a feature in many CMSes. I remember the first time I used Serendipity and how one could load up the template editor although the way that themes were handled was not the best. Without a backend editor, you have to edit locally and then ftp your changes back to the site. Geeks, making the world a better place |
So I can not make changes from within the Admin Console in Dolphin? |
No. You cannot. https://www.deanbassett.com |
So I can not make changes from within the Admin Console in Dolphin? Not in the current release of Dolphin; I think it was removed. In Dolphin 7.0.9 there was a CSS file editor that would allow you to edit the styles in the current template. I don't think it is a big security risk; the CSS files have permission 644 set, so the owner of the file can edit them. If a hacker gets into the site, they can pretty much do what they wish; including just deleting your whole site. Geeks, making the world a better place |
I don't think it is a big security risk; the CSS files have permission 644 set, so the owner of the file can edit them
https://www.deanbassett.com |
I've just been adding my css to the bottom of /templates/base/css/common.css (there is no reason I picked this particular file) and it's working fine. I do have to clear the cache from Admin > Tools > Cache to see the changes and I have to add !important; often [ eg. color: red !important; ] Obviously I will have to add the custom css again after an upgrade but I don't mind, it seems to be the easiest way. I am used to working with WordPress and most premium themes are super easy to manage with admin settings for colors, fonts, backgrounds, headings etc. so having to edit css this way is a pain. |
I've just been adding my css to the bottom of /templates/base/css/common.css (there is no reason I picked this particular file) and it's working fine. I do have to clear the cache from Admin > Tools > Cache to see the changes and I have to add !important; often [ eg. color: red !important; ] Obviously I will have to add the custom css again after an upgrade but I don't mind, it seems to be the easiest way. I am used to working with WordPress and most premium themes are super easy to manage with admin settings for colors, fonts, backgrounds, headings etc. so having to edit css this way is a pain. Be careful with this method - if you ever apply a different template, your changes at the bottom of that file could cause some crazy things. What I did was copy the uni template and name it something different, then made changes only to the template files. caredesign.net |