PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / modules / thankyou / includes / thankyou-dynamic-divi-css.php

thankyou-dynamic-divi-css.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.3.0, at modules/thankyou/includes/thankyou-dynamic-divi-css.php

84 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Dynamic DIVI Thank you css.
4 *
5 * @package CartFlows
6 */
7
8 // Exit if accessed directly.
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12 $output = "
13
14 .et_pb_module #wcf-thankyou-wrap{
15 color: {$text_color};
16 font-family: {$text_font_family};
17 max-width:{$container_width}px;
18 font-size: {$text_font_size}px;
19 }
20
21 .et_pb_module #wcf-thankyou-wrap .woocommerce-order h2.woocommerce-column__title,
22 .et_pb_module #wcf-thankyou-wrap .woocommerce-order h2.woocommerce-order-details__title,
23 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-thankyou-order-received,
24 .et_pb_module #wcf-thankyou-wrap .woocommerce-order-details h2,
25 .et_pb_module #wcf-thankyou-wrap .woocommerce-order h2.wc-bacs-bank-details-heading,
26 .et_pb_module #wcf-thankyou-wrap .woocommerce-order h2.woocommerce-order-downloads__title {
27 color: {$heading_text_color};
28 font-family: {$heading_font_family};
29 font-weight: {$heading_font_weight};
30 }
31
32 .et_pb_module #wcf-thankyou-wrap .woocommerce-order ul.order_details,
33 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-order-details,
34 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-customer-details,
35 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-bacs-bank-details,
36 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-order-downloads{
37 background-color: {$section_bg_color}
38 }
39 img.emoji, img.wp-smiley {}
40 ";
41
42 if ( 'no' == $show_order_review ) {
43 $output .= '
44 .et_pb_module #wcf-thankyou-wrap .woocommerce-order ul.order_details{
45 display: none !important;
46 }
47 ';
48 }
49
50 if ( 'no' == $show_order_details ) {
51 $output .= '
52 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-order-details{
53 display: none !important;
54 }
55 ';
56 }
57
58 if ( 'no' == $show_billing_details ) {
59 $output .= '
60 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-customer-details .woocommerce-column--billing-address{
61 display: none;
62 }
63 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-customer-details .woocommerce-column--shipping-address{
64 float:left;
65 }
66 ';
67 }
68
69 if ( 'no' == $show_shipping_details ) {
70 $output .= '
71 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-customer-details .woocommerce-column--shipping-address{
72 display: none ;
73 }
74 ';
75 }
76
77 if ( 'no' == $show_billing_details && 'no' == $show_shipping_details ) {
78 $output .= '
79 .et_pb_module #wcf-thankyou-wrap .woocommerce-order .woocommerce-customer-details{
80 display: none !important;
81 }
82 ';
83 }
84