Discussions

How do I add my custom css file to Kickstart?

I have tried adding it to "commerce_kickstart_theme.info":

; Custom STYLESHEETS

css[infinitee-style.css][name] = Your custom Infinitee styles
css[infinitee-style.css][description] = This file holds all the Infinitee active custom CSS of your theme.
css[infinitee-style.css][options][weight] = 11

and

stylesheets[all][] = style-infinitee.css

On a side note, I would like to set Text formats to Full HTML as the default.

Posted: Jun 24, 2012

Comments

Infinitee on June 25, 2012

Adding a custom CSS file to your Omega Sub Theme

1. Put your custom css file in the sub_theme> css folder.

2. Add this to your sub_theme.info file:

; INFINITEE WEB DESIGN STYLESHEETS
 
  css[your-custom.css][name] = Your custom styles
  css[your-custom.css][description] = This file holds all your active custom CSS of your sub theme.
  css[your-custom.css][options][weight] = 10

3. Clear the cache.

4. Go to admin/appearance/settings/Your_Sub_Theme_Name and click "Toggle styles".

5. Scroll down and check your new stylesheet and click "Save configuration" on the bottom of the page.

etron770 etron770 on December 4, 2014

and additonally:

settings[alpha_css][your-custom.css] = 'your-custom.css'

otherwise it is not visible at 5.