Created
June 3, 2020 13:19
-
-
Save git-bhanu/c6fcc85ec6b7bea4895ad2ae1041bd44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="class-disclaimer"> | |
<div class="dicon"> | |
<img src="http://crushnew.test/wp-content/uploads/2020/04/Group-1398.svg"> | |
</div> | |
<div class="text"> | |
<h3>Pay as much as you want- Only for Group Fitness Classes</h3> | |
<p>Just enter the amount you want to pay in multiples of <span style="font-weight: bold">10</span> in the <span style="font-weight: bold">'Coupon Code field'</span> at checkout. </p> | |
<p>For example, if you want to pay INR 40 for a class, enter <span style="font-weight: bold">40</span> in <span style="font-weight: bold">'Coupon Code field'</span> and the price for the class will change to INR 40 plus GST</p> | |
<p>For 100% discount use coupon code- 'FREE', we hope you would support us in these COVID-19 times and use this code only if absolute neccessary.</p> | |
</div> | |
</div> | |
<style> | |
.class-disclaimer { | |
display: flex; | |
background-color: #222; | |
border-radius: 12px; | |
padding: 20px; | |
align-items: center; | |
font-family: sans-serif; | |
margin: 20px auto 20px auto ; | |
box-sizing : border-box; | |
width : 100%; | |
} | |
.class-disclaimer .dicon{ | |
margin-right: 20px; | |
padding: 10px !importnat; | |
} | |
.class-disclaimer .dicon svg{ | |
width : 60px; | |
height : 60px; | |
} | |
.class-disclaimer .text { | |
color: #fff; | |
} | |
.class-disclaimer .text h3{ | |
margin-bottom: 15px; | |
color: #A4C409; | |
font-weight: bold; | |
font-size: 20px; | |
} | |
.class-disclaimer .text p{ | |
font-size: 14px; | |
line-height: 1.4em; | |
margin-bottom: 5px; | |
} | |
@media only screen and (max-width: 600px) { | |
.class-disclaimer { | |
flex-direction: column; | |
align-items: flex-start; | |
width: 100%; | |
} | |
.dicon { | |
margin-bottom : 20px; | |
} | |
} | |
.group-classes-diclaimer.mobile { | |
display : none; | |
} | |
.group-classes-diclaimer.desktop { | |
display : block; | |
} | |
.group-classes-diclaimer { | |
margin-bottom: 10px; | |
} | |
@media only screen and (max-width: 600px) { | |
.class-disclaimer { | |
flex-direction: column; | |
align-items: flex-start; | |
width: 100%; | |
} | |
.dicon { | |
margin-bottom : 20px; | |
} | |
.group-classes-diclaimer.mobile { | |
display : block; | |
} | |
.group-classes-diclaimer.desktop { | |
display : none; | |
} | |
} | |
</style> | |
<h1 style="font-size:40px; font-weight:bold">Checkout</h1> | |
[woocommerce_checkout] | |
<style> | |
.post-1764 | |
{ | |
margin: 60px auto 75vh; | |
max-width: 100% !important; | |
margin-right: 9% !important; | |
margin-left: 9% !important; | |
} | |
.woocommerce form .form-row .required | |
{ | |
visibility: hidden !important; | |
} | |
.woocommerce-info::before | |
{ | |
content: none !important; | |
} | |
.entry-title | |
{ | |
font-size: 35px; | |
font-weight: bold; | |
margin-bottom :20px; | |
} | |
.woocommerce-info | |
{ | |
display: none !important; | |
} | |
.woocommerce-form-coupon | |
{ | |
display: block !important; | |
} | |
.woocommerce form.checkout_coupon | |
{ | |
border: 1px solid #CCC!important; | |
border-radius: 12px; | |
padding: 15px 30px !important; | |
width: 47% !important; | |
} | |
.woocommerce form.checkout_coupon p | |
{ | |
font-size: 16px; | |
font-weight: regular; | |
margin-bottom: 10px | |
} | |
#coupon_code | |
{ | |
font-weight: bold !important; | |
text-transform : uppercase; | |
} | |
.woocommerce form .form-row input.input-text | |
{ | |
background: #F8F8F8; | |
border: none !important; | |
border-radius: 8px; | |
color: #797979 !important; | |
font-weight: 400!important; | |
} | |
.button | |
{ | |
background:#A4C409!important; | |
color: #000!important; | |
font-weight:bold; | |
border-radius: 8px !important; | |
} | |
.button:focus | |
{ | |
outline: none !important; | |
} | |
#customer_details | |
{ | |
width: 47%; | |
float: left; | |
left:0; | |
margin-bottom: 100px; | |
} | |
.woocommerce-billing-fields h3 | |
{ | |
font-size: 16px; | |
font-weight: bold; | |
text-transform: uppercase; | |
margin-bottom: 15px; | |
border-bottom: 1px solid #CCC; | |
padding-bottom: 15px; | |
} | |
#order_review_heading | |
{ | |
font-size: 16px; | |
font-weight: bold; | |
text-transform: uppercase; | |
margin-left: 62%; | |
/*margin-left: 44%;*/ | |
margin-bottom: 15px; | |
top: 25%; | |
} | |
.col-1 | |
{ | |
width: 100% !important; | |
} | |
.col-2 | |
{ | |
display: none; | |
} | |
#order_review | |
{ | |
width: 38%; | |
float: right; | |
right:9%; | |
margin-bottom: 80px; | |
top: 31%; | |
} | |
.woocommerce-checkout-review-order-table | |
{ | |
border-collapse: collapse !important; | |
border: none!important; | |
} | |
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td | |
{ | |
border: none !important; | |
border-bottom: 1px solid #CCC!important; | |
border-top: 1px solid #CCC!important; | |
} | |
.woocommerce-checkout-review-order-table tbody>tr:nth-child(odd)>td | |
{ | |
background-color: #FFF !important; | |
} | |
.order-total, .cart-subtotal | |
{ | |
background-color: #F8F8F8 !important; | |
} | |
#payment | |
{ | |
background: #F8F8F8 !important; | |
display: flex; | |
border-radius: 12px !important; | |
} | |
.payment_box | |
{ | |
position: static !important; | |
background-color: transparent !important; | |
padding: 0 !important; | |
font-size: 16px !important; | |
font-weight: bold !important; | |
} | |
.payment_methods | |
{ | |
border-bottom: none !important; | |
} | |
.woocommerce-checkout #payment div.payment_box::before | |
{ | |
display: none !important; | |
} | |
.woocommerce-error, .woocommerce-message | |
{ | |
position: absolute; | |
top: 12%; | |
width:82%; | |
left: 9%; | |
right: 9%; | |
z-index: 1; | |
background: #F8F8F8; | |
} | |
.woocommerce-remove-coupon | |
{ | |
background: #A4C409!important; | |
padding: 5px 10px; | |
border-radius: 5px; | |
color: #FFF!important; | |
} | |
.woocommerce-thankyou-order-received | |
{ | |
font-size: 20px !important; | |
margin-bottom: 30px; | |
font-weight: 500; | |
} | |
.woocommerce ul.order_details li | |
{ | |
font-size: 14px!important; | |
border-right: 1px solid #22222224 !important; | |
margin-bottom: 20px !important; | |
} | |
.woocommerce-order-details__title, .woocommerce-column__title | |
{ | |
font-size: 18px !important; | |
font-weight: bold; | |
margin-bottom: 15px; | |
} | |
.woocommerce-order-details | |
{ | |
width: 50% !important; | |
float: left; | |
} | |
.woocommerce-customer-details | |
{ | |
width: 45% !important; | |
float: right; | |
} | |
.woocommerce .woocommerce-customer-details address | |
{ | |
padding: 15px 30px !important; | |
line-height: 1.8; | |
border-radius: 10px!important; | |
} | |
.vczapi-woocommerce-email-mtg-details--list4 | |
{ | |
display: none !important; | |
} | |
.woocommerce-order-details .vczapi-woocommerce-email-mtg-details, .product-quantity | |
{ | |
display: none !important; | |
} | |
.product-name p | |
{ | |
display: none !important; | |
} | |
.product-name a | |
{ | |
color: #222 !important; | |
} | |
.thankyou-button | |
{ | |
background: #A4C409; | |
border: none; | |
border-radius: 5px; | |
color: #000; | |
font-size: 15px; | |
font-weight: 500; | |
position: absolute; | |
top: 22%; | |
right: 9%; | |
} | |
.thankyou-button:active, .thankyou-button:hover, .thankyou-button:focus | |
{ | |
background: #A4C409; | |
color:#000; | |
outline: none; | |
} | |
@media only screen and (max-width:728px) | |
{ | |
.post-1764 | |
{ | |
margin: 50px auto 50px; | |
} | |
.site-header, body:not([class*=elementor-page-]) .site-main | |
{ | |
padding: 0!important; | |
} | |
.entry-title | |
{ | |
font-size: 32px; | |
} | |
.woocommerce form.checkout_coupon, #customer_details, #order_review | |
{ | |
width: 100% !important; | |
} | |
#customer_details | |
{ | |
margin-bottom: 30px; | |
} | |
#order_review_heading | |
{ | |
margin-left: 0; | |
margin-top: 50px; | |
position: static; | |
top: 0; | |
} | |
#order_review | |
{ | |
position : static; | |
top: 0; | |
} | |
#place_order | |
{ | |
width: 100%; | |
position: fixed; | |
bottom: 0; | |
left: 0; | |
padding: 15px 0; | |
border-radius: 0 !important; | |
margin-bottom: 0!important; | |
} | |
.woocommerce form.checkout_coupon | |
{ | |
padding: 15px !important; | |
} | |
.woocommerce form.checkout_coupon p | |
{ | |
width: 100% !important; | |
text-align: center; | |
} | |
.footer | |
{ | |
display: none !important; | |
} | |
.woocommerce-error, .woocommerce-message | |
{ | |
position: static; | |
width: 100%; | |
} | |
.woocommerce ul.order_details li | |
{ | |
border-right: none !important; | |
margin-bottom: 20px; | |
line-height: 1.5; | |
} | |
.woocommerce-order-details | |
{ | |
width: 100% !important; | |
} | |
.woocommerce-customer-details | |
{ | |
width: 100% !important; | |
} | |
.thankyou-button | |
{ | |
position: fixed; | |
top: auto; | |
right: 0; | |
bottom: 0; | |
width: 100%; | |
left: 0; | |
border-radius: 0; | |
padding: 15px; | |
} | |
} | |
</style> | |
<script> | |
document.getElementById('order_review_heading').innerHTML = "SUBSCRIPTION DETAILS"; | |
document.getElementsByClassName("woocommerce-table__product-name").innerHTML= "Subscription"; | |
document.getElementsByClassName("woocommerce-order-details__title").innerHTML = "Subscription Detail"; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment