DPMS Panther LRT-SASS 7.62 NATO |
This post supposes you have an omega 4 subtheme installed and the Sass environment set up and you have the guard running on your subtheme folder (bundle exec guard)
(see f.i. http://www.code.binarybrand.com/index.php?title=Omega_4)
1. Open your subtheme info file (in this example my subtheme is called rli2015, so we open rli2015.info)
2. Add a line in the stylesheets section
stylesheets[all][] = css/rli2015.mobile.css
3. navigatie to your sass folder (in this example themes/rli2015/sass) and add a file
rli2015.mobile.scss
4. Imediately a file rli2015.mobile.css will me generated in your css folder
5. This css file will also be added to your rendered page
No comments:
Post a Comment