I think I must be missing something. Under the Advanced Theme Settings -> Theme Development Settings -> Color Settings I only have one option for Color Schemes - Default color scheme. In the video for theme setup, the author clearly had several options for this setting. Did I miss something. I created a theme.css file, and added it to the css/theme folder. Please advise. Thanks!

Comments

Slimz’s picture

Same here, but I did make a mistake and created the theme.css in the css root, but fixed that. I read there is a default theme.css to use with the license, where can I get that? I have looked around.
thanks
Slimz

jmcerda’s picture

Link to theme.css example - http://adaptivethemes.com/sites/adaptivethemes.com/files/theme-css-js.txt. Still cant figure out the Color Schemes

Jeff Burnz’s picture

Yeah, I'll make a video showing you how to do this, you have to add the extra stylesheets yourself and the calls to them in the theme settings.

Take a looky inside theme-settings.php, around line 584 (just scroll right to the bottom, its nearly the last thing).

There are instructions there for how to add the extra stylesheets, heres the snippets you need to look out for:

    $form['color']['color_schemes'] = array(
      '#type' => 'select',
      '#title' => t('Color Schemes'),
      '#default_value' => $settings['color_schemes'],
      '#options' => array(
        'colors-default.css' => t('Default color scheme'),
        //'colors-example.css' => t('Example color scheme'), // add additional stylesheets here, they must be in css/theme and match name perfectly!
      ),
    );

So, if you wanted to add say green, blue and red stylesheets you'd have something like this:

    $form['color']['color_schemes'] = array(
      '#type' => 'select',
      '#title' => t('Color Schemes'),
      '#default_value' => $settings['color_schemes'],
      '#options' => array(
        'colors-default.css' => t('Default color scheme'),
        'colors-green.css' => t('Green color scheme'),
        'colors-blue.css' => t('Blue color scheme'),
        'colors-red.css' => t('Red color scheme'),
      ),
    );

These stylesheets must be placed in the css/theme directory.

Make sure you add the color-default.css file as well, if you are using it!

Slimz’s picture

Hey Jeff,
Thanks for the reply and help, but I do not think my install is working correctly. Pls forgive a non coder, but I followed your install vid for a fresh AT setup, the question I have is, shouldn't the theme.css file be written to? I'm not really worried about adding other colors, but editing my sites blocks, headers and nodes for a single theme and after looking in the core folder, you mention using the theme.css to override. I'm guessing my theme.css isn't working.
I do use a FreeBSD box, but being a Windoze user I upload with Webmin and use Dreamweaver for editing (although I did install Firebug and will start using that):
Question - Once I install AT - should the theme.css file look like the sample.css with all the info? To make other color css files, I should edit and post them in the theme dir.
If my theme.css file doens't have anything in it - I'm guessing a permission problem? Have you seen this.

Thanks for any help
Slimz

Jeff Burnz’s picture

Hmm, where to start dude, first you should create new issue when the questions are off topic, but for now lets continue here.

1. theme.css, when you create this, will be blank. If you want something in there you could copy and paste in the styles from the starter.css file that is in css/core.

2. If you are using Dreamweaver why not use FTP? That way you can Ctrl S (save) then Ctrl U (ftp put) in two key strokes ;)

3. To create the color css files, yeah, just create as you need (be aware that you MUST have color-default.css in the css/theme folder else you will get a 404 for this file...)

I think I have answered your questions, its not totally clear to me.

Jeff Burnz’s picture

Status: Active » Fixed

calling this fixed for now

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.