Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

number of columns #102

Closed
neilborromeo opened this issue Aug 26, 2014 · 2 comments
Closed

number of columns #102

neilborromeo opened this issue Aug 26, 2014 · 2 comments

Comments

@neilborromeo
Copy link

Hi,

is it easy to adjust the number of columns? like, I want to have at least a base of 16 columns? or 24columns?

I've change everything in _settings.scss but i guess i need to do something with the page.php or index.php files in wordpress template files?

@olefredrik
Copy link
Owner

Hi,
You can easily adjust the number of columns, row width and column gutter in the _settings.scss file. Scroll down to the grid section, starting on line 76, uncomment the properties you need and change to your desired number of columns. Remember that grunt must be running, so your changes in _settings.scss are compiled to app.css. See the foundation docs for more info about grid settings http://foundation.zurb.com/docs/components/grid.html

@neilborromeo
Copy link
Author

oh, I'm using an old clone of the code. it was line 37 in my config. Anyway, was having trouble of crammed columns when adjusting to 16 up to 24 columns. I'll try something today.

Btw, this is unrelated but I hope you can give me some tips. :) I was wondering how to accomplish this without forcing to add files in my own git repo. What I have is that I have git initialized in the root directory of my wordpress project (aliased bb -> points to bitbucket) and then I've done the clone like this:

at first:

cd wp-content/themes/
git clone git@github.com:olefredrik/FoundationPress.git
mv FoundationPress greatstuff

when working:

  1. edit files with grunt running.
  2. when done git -f add files and commit and git push to bitbucket.

and if something new in github commits, i do git pull from "greatstuff" folder.

Since it has .git folder inside "greatstuff", it does not recognize some changes from my own repo. Is there a way to pull some changes from github that does not disturb my origin repo?

I use to do diff-merge in the files manually but seems odd and time consuming. I hope you can shed some light on it. great stuff here. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants