Color scheme for Subtheme

ed-media
Forums
Hi, I created a subtheme since I do need to do a little bit of CSS on my installation. I changed the color theme of platon to a darker blue (custom color). If I activate my subtheme I do not recive the color option in /admin/appearance/settings/my_style How can I activate the color scheme for my subtheme?
wadmiraal

Hi ed-media.

Hi ed-media. You need to do some more work to activate the Color module implementation. For reference, you can find the official Drupal documentation [here](https://drupal.org/node/108459). Basically, your theme needs to have a `/color` folder, with in it a `color.inc` file. You can just copy the one from Platon. You will need to define the changeable colors, as well as provide a `css/color.css` that lists all changeable colors. If you didn't change much of the Platon structure, the default might prove sufficient. Otherwise, it's just the matter of adding a few lines. Let me know how it goes and if you need any more help. Kind regards.
boyd.badten

Cannot change colors within subtheme

Please help me get to the last 5% of this---I've been working at this one thing for about 7 hours and still no joy. I did what Wadmiraal suggested above--"Basically, your theme needs to have a /color folder, with in it a color.inc file. You can just copy the one from Platon. You will need to define the changeable colors, as well as provide a css/color.css that lists all changeable colors. If you didn't change much of the Platon structure, the default might prove sufficient. Otherwise, it's just the matter of adding a few lines." ------ and many permutations and variations on this. I changed the path in the color/color.inc file to point to my subtheme. The preview works within the theme color changer module and the color changer module remembers the colors I'm inputting. But these changes never get written out to color.css and I can't figure out why. I really appreciate the fellow who did the YouTube video on sub-theme creation. Everything else works and is predictable. But this color selector, which I absolutely need, doesn't work. Can you guys please give us a more detailed and tested version of this procedure?? Thanks!!
Intrepid

Making theme transparent

I have a question about color.css as well. I want to be able to run Video Background module to have a short video on the frontage as background. The block regions have to be transparent for the video to display, as in Stark theme. I was trying to change that, by replacing hex colour codes with rgba( 255, 255, 255, 0.5) but that only worked for the footer. Other regions still display as before. I'm a good and don't really know css, so any help is appreciated. What am I doing wrong ? .clearfix{overflow:hidden;*zoom:1}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right !important}.pull-left{float:left !important}.hide{display:none !important}.show{display:block !important}.invisible{visibility:hidden}.text-hide{text-indent:-119988px;overflow:hidden;text-align:left;text-transform:capitalize}.hidden{display:none !important}.affix{position:fixed}.color-white{color:#fcfcfc}.background-color-white{background-color:#fcfcfc}.color-light-gray{color:#f8f7f5}.background-color-light-gray{background-color:rgba( 255, 255, 255, 0.5)}.color-medium-gray{color:rgba( 255, 255, 255, 0.5)}.background-color-medium-gray{background-color:rgba( 255, 255, 255, 0.5)}.color-dark-gray{color:rgba( 255, 255, 255, 0.5}.background-color-dark-gray{background-color:rgba( 255, 255, 255, 0.5}.color-light-blue{color:#88c1e6}.background-color-light-blue{background-color:#88c1e6}.color-dark-blue{color:#009ee0}.background-color-dark-blue{background-color:#009ee0}.color-deep-blue{color:#0a71b4}.background-color-deep-blue{background-color:#0a71b4}.color-leaf-green{color:#5aa449}.background-color-leaf-green{background-color:#5aa449}.color-blood-red{color:#ea645b}.background-color-blood-red{background-color:#ea645b}#second-sidebar{background-color:rgba( 255, 255, 255, 0.5)}#title-wrapper{background:rgba( 255, 255, 255, 0.5)}#site-header{background-color:rgba( 255, 255, 255, 0.5)}#site-footer{background-color:rgba( 255, 255, 255, 0.5)}.main-navigation-row .main-navigation-item a:hover span.text,.main-navigation-row .main-navigation-item a.active span.text{color:#009ee0}body.cke_show_borders{background:#f8f7f5}input[type="text"],input[type="password"],textarea,select{border-color:rgba( 255, 255, 255, 0.5)}fieldset input[type="text"],fieldset input[type="password"],fieldset textarea,fieldset select{border-color:#d3d3d1}.quiz-question-body{background:#ececeb}.form-item