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

Upgrading to 4.3 Broke my Child Theme #236

Closed ghost closed 10 years ago

ghost commented 10 years ago

I upgraded to 4.3 and now my site is broken. Seems like the CSS is messed up. Any ideas? Is there something I forgot to do?

ghost commented 10 years ago

Well, I guess it is because the upgrade to Reverie 4. I don't know though because I can't access the ThemeFortress site. Hmmmm.

ghost commented 10 years ago

I remember there was a little hack I had to do to make Reverie accept child themes. Anyone know what it is? I have a feeling this is why my child theme is not working. Thanks!

ghost commented 10 years ago

Ok. So since the Themefortress website is down. I could't find the instructions on how to edit Reverie parent to work with child themes. Anyway, then I remember Google Cache and found a cached version of the blog. To enable child theme functionality you just have to edit functions.php. Comment out SASS and uncomment CSS. Ta Da!

/*

  1. lib/enqueue-sass.php or enqueue-css.php
    • enqueueing scripts & styles for Sass OR CSS
    • please use either Sass OR CSS, having two enabled will ruin your weekend _/ //require_once('lib/enqueue-sass.php'); // do all the cleaning and enqueue if you Sass to customize Reverie requireonce('lib/enqueue-css.php'); // to use CSS for customization, uncomment this line and comment the above Sass line /

Is that all I have to do? Even with the update to 4.3? I know I should learn LESS or SASS, but I have no time to do that at the moment!

ghost commented 10 years ago

The above code works.