X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=theme%2Freadme.txt;h=83b5a61d0d6d9627518ad735516d30a863bd7cfa;hb=748c744a02ab12f36a275d9020c1b2b5ead9f002;hp=335801385d0d31aa64f2fd0eebf48a6502226eb2;hpb=01fce5df271925ca7ad5de0ca71b6ffea6e214fb;p=quix0rs-gnu-social.git diff --git a/theme/readme.txt b/theme/readme.txt index 335801385d..83b5a61d0d 100644 --- a/theme/readme.txt +++ b/theme/readme.txt @@ -23,11 +23,16 @@ Only alter this file if you want to change the layout of the site. Please note t ./default/css/display.css contains only the background images and colour rules: This file is a good basis for creating your own theme. +Let's create a theme: -1. Copy over the default theme to start off (replace 'mytheme'): -cp -r ./default ./mytheme +1. To start off, copy over the default theme: +cp -r default mytheme 2. Edit your mytheme stylesheet: -nano ./mytheme/css/display.css +nano mytheme/css/display.css -3. Search and replace a colour or a path to the background image of your choice. +a) Search and replace your colours and background images, or +b) Create your own layout either importing a separate stylesheet (e.g., change to @import url(base.css);) or simply place it before the rest of the rules. + +4. Set /config.php to load 'mytheme': +$config['site']['theme'] = 'mytheme';