Forum Replies Created
-
AuthorPosts
-
March 19, 2016 at 5:11 pm in reply to: Which Genesis Hooks do these Woo Hooks Match up With? #181886
Paddy
Member"I think you'll need to test manually to find out." - Sure. Do you know if it's best to echo some text at different points and then do a visual comparison or is there a more efficient way to do it.
"I assume you have custom functions for Woo which you want moved to Genesis?" - Yes. Appreciate any pointers if you have them. Thanks.
March 10, 2016 at 9:32 pm in reply to: Which Genesis Hooks do these Woo Hooks Match up With? #181186Paddy
MemberHey Brad - thanks for the link. That's a great visual aid to complement the descriptively named Genesis hooks. The tricky part is trying to understand the Woo hooks and then line them up appropriately.
For example ... "woo_main_before - Executed before the opening #main DIV tag". It's not very intuitive which Genesis hook this should match up with. I don't mind doing the leg work to figure it out, and just need some pointers on where to start digging. "genesis_before_content_sidebar_wrap" is a guess based on the description.
Or, "woo_post_inside_before - Executed at the top, inside each post’s DIV tag". Would 'inside each post's DIV' be inside the Genesis loop, and hence this hook matches up with genesis_loop or genesis_before_entry perhaps?
March 9, 2016 at 11:17 pm in reply to: What's the Best Way to Change a Theme Specific CSS Class #181095Paddy
MemberGot it. Thanks a lot Brad. Much appreciated.
March 9, 2016 at 9:50 pm in reply to: What's the Best Way to Change a Theme Specific CSS Class #181092Paddy
Member@Victor I'm trying to change away from a Woo Theme rather than deal with a theme vs WooCommerce plugin CSS conflict. Thanks for your insight on theme vs plugin CSS load priorities.
@Brad - please excuse these basic questions ...1. "You can change the class manually in the HTML to button" - is 'button' a Genesis CSS class already, or it would need to be defined in style/custom .css?
2. "You can add the CSS from Canvas style sheet to your Genesis child themes style sheet." - is it allowed/ethical to simply copy the code like this?
3. "could try a SQL find and replace to change all instances if the class using phpMyAdmin" - would this be able to make changes in custom templates and other files such as home.php? I thought these files are separate from what's in the WP database.
-
AuthorPosts