milohuang / reverie

Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
http://theakiba.com/reverie/
MIT License
918 stars 196 forks source link

How to add the new Grid-5 and .medium class to Reverie #237

Open ghost opened 10 years ago

ghost commented 10 years ago

Can anyone please tell me how to do this? I'd like to try out the .medium class ASAP.

ghost commented 10 years ago

I just added the grid-5.css via @import to the styles.css file and it is working. Although I am having issues with source ordering with the medium class.

randomfreeform commented 10 years ago

I'd like a clean way to do this too..

ghost commented 10 years ago

If you are using a child theme this is the way to do it. First download the grid-5.css file from the Foundation website and put it somewhere in your child theme. I put it in a CSS folder. Then just add this line to the styles.css in your child theme:

@import url("../reverie-child/css/grid-5.css");

randomfreeform commented 10 years ago

thanks!

nickbouton commented 10 years ago

@jkinley They changed the source ordering syntax (undocumented as far as I could tell) with the new medium grid. Just add large-* or medium-* to the default pull/push syntax. Works great.

randomfreeform commented 10 years ago

BTW _Zurb is releasing ver 5 next week… ;P

ghost commented 10 years ago

I'll try again. Thanks!

Sent from my iPhone

On Nov 13, 2013, at 1:52 PM, Nick Bouton notifications@github.com wrote:

@jkinley They changed the source ordering syntax (undocumented as far as I could tell) with the new medium grid. Just add large-* or medium-* to the default pull/push syntax. Works great.

— Reply to this email directly or view it on GitHub.

nickbouton commented 10 years ago

@jkinley Here's a link to my closed issue about it in the Foundation repo - should help.