HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   Ispconfig3, Basic Branding proposal (http://www.howtoforge.com/forums/showthread.php?t=54948)

8omas 15th November 2011 15:07

Ispconfig3, Basic Branding proposal
 
As I can see, we have to create a new theme or we have to mess up with the ISPConfig files, so as to make a basic branding (logo, fonts, colors).

After the new update, the change to jquery broke my custom theme so I had to do sth for my basic branding.

Here is what I did

- I appended to next file :
Code:

/usr/local/ispconfig/interface/web/themes/default/css/central.css
this line:
Code:

@import url(custom.css)
I created the custom.css with the next default contents:
Code:

@charset "UTF-8";

@media all
{
/******** custom css must be written between here *******/

/*****************  and here  *********************/
}

Between the brackets we can write our own css and as this is the last css included, it will overide all the others

- I created the folder:
Code:

/usr/local/ispconfig/interface/web/themes/default/css/custom
so that I can upload my custom logo. The last step is not necessary as I can use a logo from any other web site.


My proposal is just the inclusion of a statement to import a custom css file, so as we don't need to mess with the core files and our customisation will not be overwritten by a future update.

nveid 18th November 2011 05:47

The best path for this is just to copy the 'default' them to another one.. Edit the newly copied one.. of course once you do this, I've been encountering a problem.. Most of the time when you do an update u run the risk of several things not working right.. I eventually gave up on this path because I had to keep repeating the process over & over again whenever I updated.

till 18th November 2011 10:20

It is not nescessary to copy a whole theme, just copy the changed template files.


All times are GMT +2. The time now is 14:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.