Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: siCk_BoY_ on September 05, 2016, 01:14:34 PM

Title: Mourning colors
Post by: siCk_BoY_ on September 05, 2016, 01:14:34 PM
Is it possible to change the color of the page with a few clicks?
It's about changing the color for mourning (gray scale).
Changing links, apply the filter to photos and so on.
Maybe is there any mods which can do that?
Hope you will help me.
Title: Re: Mourning colors
Post by: Kindred on September 05, 2016, 01:55:39 PM
The easiest way involves some work, up front...  you have to create another theme, using the color scheme that you want, and install that theme.
Once that is done, you can easily force users to change themes from the admin tools -- or even assign your new theme to a specific board - overriding any user choices for that specific board.
Title: Re: Mourning colors
Post by: siCk_BoY_ on September 05, 2016, 02:29:30 PM
Thank you for your reply.
I just found better solution.
Just to add to the style template this code:
html {
filter: grayscale(100%);
filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
-webkit-filter: grayscale(100%);}


It works and it is a simpler solution than create another theme. But I'm glad of your help.

I'm not sure it is correct but previuos version doesn't work in Firefox.
I add line filter: grayscale(100%); and it works in every popular browser.