Digital experiences for all disciplines
Forum Replies Created
-
-
OK, working this out (in public, I guess). I found two theoretical ways of doing it. First, adding the following to child-theme/functions.php:
remove_action( 'woocommerce_before_single_product_summary','woocommerce_show_product_sale_flash', 10 ); remove_action( 'woocommerce_before_single_product_summary','woocommerce_show_product_images', 20 ); add_action( 'woocommerce_after_single_product_summary','woocommerce_show_product_sale_flash', 10 ); add_action( 'woocommerce_after_single_product_summary','woocommerce_show_product_images', 20 );
Second, simply overwriting sf-woocommerce.css lines 1270 and 1278 respectively with:
.woocommerce div.product div.images { float: right; } .woocommerce div.product div.summary { float: left; }
effectively swapping their float values. What is the preferred method?
Hey Rui,
Yes, I wanted to create a new footer layout as shown here:
https://www.dropbox.com/s/vgm2fpg8gfa3w20/Screenshot%202015-02-03%2016.20.19.png?dl=0
which is col-sm-6, col-sm-2, col-sm-2, col-sm-2
Now, I have created this by modifying the core sf-footer.php file (changing footer-2), which we prefer NOT to do for upgrade compatibility reasons.
Therefore, I want to accomplish two things so that I can create additional layouts and select them at will:
1) Modify the core files in the child-theme only, if possible
2) Add new layout(s) (footer-9, footer-10, footer-11, etc) and have them available for selection in the Cardinal Theme Footer Options tab.
So, I guess I need to know what other core files must be changed to accommodate my request.
Thanks!
Steve
-