Change Forma 2.0 colours

Install and configure FormaLMS and DoceboCE
Post Reply
topgeek
Newbie
Posts: 6
Joined: Mon Jan 26, 2015 8:54 pm

Change Forma 2.0 colours

Post by topgeek » Wed Jul 04, 2018 4:11 pm

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

Online
alfa24
FormaLms Expert
Posts: 229
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Change Forma 2.0 colours

Post by alfa24 » Wed Jul 04, 2018 4:19 pm

Will you use a shell? Windows search and replace function? What?
I'm Jasmines, the One

topgeek
Newbie
Posts: 6
Joined: Mon Jan 26, 2015 8:54 pm

Re: Change Forma 2.0 colours

Post by topgeek » Wed Jul 04, 2018 4:35 pm

Was just intending to download the relevant files use notepad ++ to do search and replace and then re-upload to my site.

Online
alfa24
FormaLms Expert
Posts: 229
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Change Forma 2.0 colours

Post by alfa24 » Wed Jul 04, 2018 5:26 pm

download the whole templates folder and do search and replace with notepad++
I'm Jasmines, the One

topgeek
Newbie
Posts: 6
Joined: Mon Jan 26, 2015 8:54 pm

Re: Change Forma 2.0 colours

Post by topgeek » Mon Jul 09, 2018 6:32 pm

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?

Online
alfa24
FormaLms Expert
Posts: 229
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Change Forma 2.0 colours

Post by alfa24 » Tue Jul 10, 2018 7:46 am

Maybe your user is assigned to an orgchart node that still uses the old template.
I'm Jasmines, the One

User avatar
alberto
FormaLms Guru
Posts: 862
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Change Forma 2.0 colours

Post by alberto » Tue Jul 10, 2018 3:23 pm

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.
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

topgeek
Newbie
Posts: 6
Joined: Mon Jan 26, 2015 8:54 pm

Re: Change Forma 2.0 colours

Post by topgeek » Tue Jul 10, 2018 4:46 pm

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

User avatar
alberto
FormaLms Guru
Posts: 862
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Change Forma 2.0 colours

Post by alberto » Fri Jul 13, 2018 4:35 pm

Templates can be assigned to orgchart nodes, so if users are in different nodes they might see different templates
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

Post Reply