-
-
Notifications
You must be signed in to change notification settings - Fork 29
New to SASS/Grunt question #4
Comments
You do not alter the genesis theme itself. You download the child theme Does that make sense? Here is explanation of child theme. On Wed, Aug 19, 2015 at 12:09 PM joshrogersdesign [email protected]
|
I'm getting closer. I'm about to download a child theme from Studiopress that has a lot of great built in features I like. But I want to use the SASS/Grunt setup offered by Rickaby. I just don't see how to connect those together. I understand renaming Genesis-Sample and making that the primary theme! |
Alot of times i will download the child theme from Genesis and add the code On Wed, Aug 19, 2015 at 2:04 PM joshrogersdesign [email protected]
|
Okay, so just add all of the Studiopress theme files to the Rickaby theme? Sounds tedious but doable! Is there something more to it that makes it hard? Basically this Rickaby sample theme is perfect if you are amazing with Genesis and basically want to develop your own custom Genesis theme? "An eye for an eye leaves the whole world blind" On Aug 19, 2015, at 2:16 PM, Rickey Messick <[email protected]mailto:[email protected]> wrote: Alot of times i will download the child theme from Genesis and add the code On Wed, Aug 19, 2015 at 2:04 PM joshrogersdesign <[email protected]mailto:[email protected]>
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-132747301. |
Sounds like I might be better off installing SASS / Grunt and all if its tasks on the Studiopress theme manually? "An eye for an eye leaves the whole world blind" On Aug 19, 2015, at 2:16 PM, Rickey Messick <[email protected]mailto:[email protected]> wrote: Alot of times i will download the child theme from Genesis and add the code On Wed, Aug 19, 2015 at 2:04 PM joshrogersdesign <[email protected]mailto:[email protected]>
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-132747301. |
Once you get into it you will realize that to customize the genesis child On Wed, Aug 19, 2015 at 2:32 PM joshrogersdesign [email protected]
|
Okay - made a lot of progress today! I have Genesis framework and a Studiopress child theme (Swank) installed and activated. The child theme has all of Rickaby's SASS files, partials, etc. and I have Grunt working to minify the CSS. The only problem now is every time I save an edit to a partial and save it- Grunt compiles the CSS, but it overrides the style.css and style.min.css of the Child theme with the CSS of Genesis Framework instead of just adding the changes to the style.css that's in the theme folder. Any thoughts on that? I am so close here! Just need to figure out this last bit. |
I do not understand. The genesis theme you do not touch at all. just have On Thu, Aug 20, 2015 at 3:03 PM joshrogersdesign [email protected]
|
I have Genesis in my directory, as well as the Genesis-Sample. When I move the Swank css and php theme files over to Genesis-Sample it overwrites the files and replaces them with the desired Swank theme files - good so far. Then from a Terminal window that is targeting the Genesis-Sample theme folder I do an npm install and the run grunt watch - still all good, grunt starts watching that folder for changes in any .scss files. Now when I go back to partials folder in Sublime Text and make an edit to the code and save it, grunt makes its noise indicating that all is well and that grunt has accomplished its task - still good! Except when I look at the style.css and style.min.css all of the code has been overwritten with Genesis 2.0.1 CSS in the style.css and the style.min.css as well and all of the Swank CSS is gone. |
Now that I have written it all out and thinking about it - do I need to replace all of the .scss files with the CSS from Swank? Does that even make sense? |
Yes sir. You got it. You have to split back out the style.css into your On Fri, Aug 21, 2015 at 3:18 PM joshrogersdesign [email protected]
|
Thanks for your help Rickey. I know this is a good step forward to the next level of development. One last question. I have decided to split the CSS into the SCSS partials provided by Rickaby - will Wordpress still read the unchanged - orginal Genesis framework as the parent theme and my new frankenstein Swank theme as the child? Or is further enqueuing necessary to make that relationship known to Wordpress? |
At the top of your stylesheet there is a parent theme: Genesis that's what
|
Awesome, yes on my style.scss and style.css of Swank the template is specified as "genesis" so I am good there! Thank you |
Forgive my lack of understanding...
But is there a way to upload this great SASS sample into a new Genesis theme? Do I just replace all the css files in my Genesis theme with the ones in this directory?
Thanks
The text was updated successfully, but these errors were encountered: