Page 1 of 1
Change Forma 2.0 colours
Posted: Wed Jul 04, 2018 4:11 pm
by topgeek
Hi there
I am not familiar with CSS.
Is there any way I can do a search and replace on the hex value for the orange colour used on the forma site and substitute and alternative hex value in relevant .css file?
Thanks
Re: Change Forma 2.0 colours
Posted: Wed Jul 04, 2018 4:19 pm
by alfa24
Will you use a shell? Windows search and replace function? What?
Re: Change Forma 2.0 colours
Posted: Wed Jul 04, 2018 4:35 pm
by topgeek
Was just intending to download the relevant files use notepad ++ to do search and replace and then re-upload to my site.
Re: Change Forma 2.0 colours
Posted: Wed Jul 04, 2018 5:26 pm
by alfa24
download the whole templates folder and do search and replace with notepad++
Re: Change Forma 2.0 colours
Posted: Mon Jul 09, 2018 6:32 pm
by topgeek
Hi there,
Thank you for responding.
I made a copy of the template folder and changed my settings in Forma 2.0 to use that as my default template.
Replaced all values of the default orange colour, #c84000 with my new colour and copied the files back over the old css in my new template folder.
Cleared my browser cache... no change to base colours in Forma
Do you have any other ideas?
Re: Change Forma 2.0 colours
Posted: Tue Jul 10, 2018 7:46 am
by alfa24
Maybe your user is assigned to an orgchart node that still uses the old template.
Re: Change Forma 2.0 colours
Posted: Tue Jul 10, 2018 3:23 pm
by alberto
Try also clearing the twig cache, deleting everything under /files/cache/twig
In forma 2.0 you don't need to edit all the stylesheets, just go under /templates/standard/style, rename the file custom.dist.css to custom.css, and edit this single file.
This way you'll be able to update your templates upon new releases without losing your changes.
To make it even easier, if you like, we also developed a commercial
Template Editor Plugin for Forma 2.0, that simplifies the creation, editing and updating of templates.
Re: Change Forma 2.0 colours
Posted: Tue Jul 10, 2018 4:46 pm
by topgeek
Thanks for responding.
I only have two users - an Admin and one learner. How can I workout whether they are assigned to the old template?
Thanks
Re: Change Forma 2.0 colours
Posted: Fri Jul 13, 2018 4:35 pm
by alberto
Templates can be assigned to orgchart nodes, so if users are in different nodes they might see different templates