From 1ab05b262625cd496f72a8b76e268d9b671af96c Mon Sep 17 00:00:00 2001 From: markAking Date: Wed, 29 Jun 2016 15:22:44 -0400 Subject: [PATCH] more bug fixes + checkout page fix for mobile --- .../backer/content-ignition_product.php | 4 +- .../ignitiondeck-templates/_checkoutForm.php | 130 +++++++++--------- .../themes/backer/single-ignition_product.php | 34 ++--- wordpress/wp-content/themes/backer/style.css | 27 +++- 4 files changed, 104 insertions(+), 91 deletions(-) diff --git a/wordpress/wp-content/themes/backer/content-ignition_product.php b/wordpress/wp-content/themes/backer/content-ignition_product.php index b7bb95ae..1f66cf5c 100644 --- a/wordpress/wp-content/themes/backer/content-ignition_product.php +++ b/wordpress/wp-content/themes/backer/content-ignition_product.php @@ -18,10 +18,10 @@ ID ) ) { - $image = aq_resize( wp_get_attachment_url( get_post_thumbnail_id(), 'full' ), $retina === 'true' ? 510 : 255, null, false, false ); + $image = aq_resize( wp_get_attachment_url( get_post_thumbnail_id(), 'full' ), $retina === 'true' ? 510 : 255, $retina === 'true' ? 169: 85, true, false ); $img_obj = '
' . get_the_title() . '
'; } else if ( get_post_meta( $post->ID, 'ign_product_image1', true ) != '' ) { - $image = aq_resize( get_post_meta( $post->ID, 'ign_product_image2', true ), $retina === 'true' ? 510 : 255, null, false, false ); + $image = aq_resize( get_post_meta( $post->ID, 'ign_product_image2', true ), $retina === 'true' ? 510 : 255, $retina === 'true' ? 169: 85, true, false ); $img_obj = '
' . get_the_title() . '
'; } else { $img_obj = ''; diff --git a/wordpress/wp-content/themes/backer/includes/ignitiondeck-templates/_checkoutForm.php b/wordpress/wp-content/themes/backer/includes/ignitiondeck-templates/_checkoutForm.php index 26c31b6c..c57803c0 100644 --- a/wordpress/wp-content/themes/backer/includes/ignitiondeck-templates/_checkoutForm.php +++ b/wordpress/wp-content/themes/backer/includes/ignitiondeck-templates/_checkoutForm.php @@ -11,71 +11,6 @@
data-free="" data-txn-type="" data-renewable="" data-limit-term="" data-term-limit="" data-scpk="" data-claimedpp="" data-pay-by-credits=""> -
- 0) { ?> -
-
-

Pay by check?

-

- You can pay by check if you'd like, just go to our - - Pay by check checkout. - -

-
-
-

Pay by card?

-

- You can pay right now by using our - - Pay by card checkout. - -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-

Our Promise

-

Blocpower guarantees that your payment will be securely stored in our bank account until the project is completed.

-
-
-

Register

@@ -200,6 +135,71 @@
+
+ 0) { ?> +
+
+

Pay by check?

+

+ You can pay by check if you'd like, just go to our + + Pay by check checkout. + +

+
+
+

Pay by card?

+

+ You can pay right now by using our + + Pay by card checkout. + +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Our Promise

+

Blocpower guarantees that your payment will be securely stored in our bank account until the project is completed.

+
+
+
diff --git a/wordpress/wp-content/themes/backer/single-ignition_product.php b/wordpress/wp-content/themes/backer/single-ignition_product.php index 6de97e97..40b5add0 100644 --- a/wordpress/wp-content/themes/backer/single-ignition_product.php +++ b/wordpress/wp-content/themes/backer/single-ignition_product.php @@ -20,7 +20,6 @@ $ign_product_level_count_2 = get_post_meta( $post->ID, 'ign_product_level_count_2', true ); $ign_fund_goal = get_post_meta( $post->ID, 'ign_fund_goal', true ); - $ign_fund_raised = get_post_meta( $post->ID, 'ign_fund_raised', true ); $ign_days_left = get_post_meta( $post->ID, 'ign_days_left', true ); $ign_test_select = get_post_meta( $post->ID, 'ign_test_select', true ); @@ -73,7 +72,7 @@
'; } @@ -89,7 +88,7 @@