Ispconfig3, Basic Branding proposal

Discussion in 'Developers' Forum' started by 8omas, Nov 15, 2011.

  1. 8omas

    8omas Member HowtoForge Supporter

    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.
     
  2. nveid

    nveid ISPConfig Developer ISPConfig Developer

    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.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

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

Share This Page