556
16.7 Legacy Series / Re: [Question]Custom background on login page
« on: May 04, 2016, 10:46:48 am »
Hi Faisal,
I don't have a lot of time at hand to guide you trough the process, but I can provide you with some handles to dig into.
When you want to create your own theme, its probably easiest to first make a copy of ours and adjust that one.
The location of the themes is:
Then you need to change the sass file to your needs and compile it into the main.css file, more information on sass is available no their site: http://sass-lang.com/documentation/
(source) /usr/local/opnsense/www/themes/[your theme]/assets/stylesheets/main.scss
(target) /usr/local/opnsense/www/themes/[your theme]/build/css/main.css
For customers that need custom branding we offer professional services, which also include packaging for easy installation, but with some css skills you should be able to do the basics yourself.
Best regards,
Ad
I don't have a lot of time at hand to guide you trough the process, but I can provide you with some handles to dig into.
When you want to create your own theme, its probably easiest to first make a copy of ours and adjust that one.
The location of the themes is:
Code: [Select]
/usr/local/opnsense/www/themes/
Then you need to change the sass file to your needs and compile it into the main.css file, more information on sass is available no their site: http://sass-lang.com/documentation/
(source) /usr/local/opnsense/www/themes/[your theme]/assets/stylesheets/main.scss
(target) /usr/local/opnsense/www/themes/[your theme]/build/css/main.css
For customers that need custom branding we offer professional services, which also include packaging for easy installation, but with some css skills you should be able to do the basics yourself.
Best regards,
Ad