First of all, just want to say this is a great theme, props to everyone who worked on it.

The major problem I have with this theme is the way the color scheme is changed and the effects it has on styling the rest of the website. I am currently using the "Moss" color scheme and every time I make changes to the style.css file, I have to go into the theme settings, change the color scheme to "Twilight (default)", save, and then change it back to "Moss". This is a problem, but is not the real issue.

The real issue I am having is that I want to change the header background image (bg-header.png) to create a logo/banner that can extend further to the right than using the auto insert Logo feature. The problem is that everytime I switch from "Moss" to "Twilight (default)" the theme creates a new directory where the bg-header.png file is. So basically everytime I make changes to my style.css file, my header image is getting overrode by the theme.

My first guess for a workaround was to change the colors of the default color scheme so I don't have to change color schemes every time I make changes to style.css. Does anyone know how to do this?

Thanks for any help!

Dave

Comments

pixture’s picture

I know that it is a bit cumbersome that you have to use default color scheme when you make changes to style.css file, but that's the way how Drupal's color module works.

Since bg-header.png is generated dynamically by Drupal color module everytime you choose a different (non-default) color scheme, I recommend to do this.

1. Create your replacement of bg-header.png and name it as 'my-bg-header.png' and place it to the 'images' directory.
2. Edit color/color.inc file and add a line 'images/my-bg-header.png' to 'copy' array. This array tells Drupal color module to simply copy files to a new color scheme directory every time such a directory is created.
3. Edit style.css and replace a line where bg-header.png is used with 'my-bg-header.png'.

With these changes, your 'my-bg-header.png' is used instead of 'bg-header.png' and your 'my-bg-header.png' is copied to a new color scheme directory even after you choose any different color scheme.
For these, you do not have to change the default color scheme's color. Of course, you can change the colors used for the default color scheme too (it may require more explanation and I do not have time now.)

Good luck,

davedg629’s picture

Thanks for the help. I decided to go another route. I basically overwrote the entire default color scheme. I did this by changing the color scheme to the one I wanted (Moss) and then I copied the entire directory that was created for this color scheme into the default color scheme directory. This way i could just keep the color scheme on default and not have to change it everytime I make a change to a .css file. There may be a simpler way to do this but that's how I did it, later.

Dave

pixture’s picture

Status: Active » Closed (fixed)