Add custom color skins

HuTerra's picture
HuTerra
Mon, 01/12/2015 - 14:44
#1
Add custom color skins

In your documentation, it says "6 Color Skins Alpine include 6 skins color version. You can create new one very easy. They have separate css files ".  Would you explain how to do this? I added two skins, but they don't show up in the skins selection.

Thank you!!

cindy's picture
cindy
Wed, 01/14/2015 - 06:06

Hi,
It's a bit difficult to make other skin color appear in theme settings
You can go to file md_alpine/inc/template.preprocess.inc
(about line 30)
and remove the following code:

if($skin != null) {
drupal_add_css($themepath . '/css/colors/'.$skin.'.css');
} else {
drupal_add_css($themepath . '/css/colors/blu.css');
}

and add this instead:

drupal_add_css($themepath . '/css/colors/your_skin.css');

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.