X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=theme%2Freadme.txt;h=83b5a61d0d6d9627518ad735516d30a863bd7cfa;hb=76aa85fe5ef408cecf7c40c0c56d58ff9ac9fcbb;hp=4998b3c988b48b553c1fe4de0df8425f5a5ca5ba;hpb=72b3c9108cc3344519a5b59188c912952a62806a;p=quix0rs-gnu-social.git diff --git a/theme/readme.txt b/theme/readme.txt index 4998b3c988..83b5a61d0d 100644 --- a/theme/readme.txt +++ b/theme/readme.txt @@ -23,14 +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';