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

Custom Grids? #486

Closed
roborracle opened this issue Sep 26, 2015 · 3 comments
Closed

Custom Grids? #486

roborracle opened this issue Sep 26, 2015 · 3 comments

Comments

@roborracle
Copy link

Just a general question here - if I want to download a custom grid from the Zurb site, how would you recommend incorporating that with FoundationPress?? Don't if it would complicated or would just be a replacement of the core foundation files. Would love to be able to add my own custom grid.

http://foundation.zurb.com/develop/download.html

@AdamChlan
Copy link
Contributor

You should take a look at the assets -> scss -> config -> _settings.scss file. In there are setting for the grid starting on line 76. You can copy and past those grid variables into the _custom-setting.scss file and change the values for your custom grid.

@Aetles
Copy link
Contributor

Aetles commented Sep 27, 2015

If you change the grid to a custom one you also have to change the templates where the grid is used, since they are built for the default 12 column grid. Lines like:
<div class="small-12 large-8 columns" role="main">

@AdamChlan
Copy link
Contributor

Good point. I've started using the grid mixins to start making my code more semantic, so that may be worth checking out as well.

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

4 participants