Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save clare485/7771023 to your computer and use it in GitHub Desktop.
Save clare485/7771023 to your computer and use it in GitHub Desktop.
##### Setting Up Foundation #####
---------------------------------
1)Download foundation at:
http://320press.com/wp-foundation/v2-0-foundation-wordpress-theme/
(check downloads for already downloaded version).
2)Drop wp-foundation folder into themes file of project
3)create style.css in child theme and add the following code:
/*
Theme Name: <project-name>
Version: 1.0
Author: Leven Internet
Template: wp-foundation
*/
##### SASS With Foundation #####
---------------------------------
See zurb website.
http://foundation.zurb.com/old-docs/f3/compass.php
1) Open Command Prompt
2) cd path/to/where-you-want-your-project
3) compass create <project-name> -r zurb-foundation --using foundation
4) open prepros and drop child theme in (you may have to refresh)
5) add the following code to your functions file
6) create subfolders in sass. e.g.
sass[]
app[]
layout[]
_footer.scss
_header.scss
_page.scss
_global.scss
_sidebar.scss
modules[]
_slideshow.scss (if used)
_carousel.scss (if used)
foundation[]
_navigation.scss
_settings.scss
_app.scss
7) choose default imports to be used in app.scss
8) add file imports to the bottom of app.scss, e.g.
@import "app/layout/header";
9) configure settings in _settings.scss
##### SASS Without Foundation #####
------------------------------------
1) find the themes folder, shift right click and open command prompt
2) compass create <project-name>
3) open prepros and drop theme folder in (you may have to refresh)
4) add ' @import "compass/css3" ' to screen.scss
5) add main styles to screen.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment