Skip to content

Commit

Permalink
2-col Woo Checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
neilgee committed Dec 4, 2021
1 parent 9a57b55 commit 684a766
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
27 changes: 27 additions & 0 deletions includes-child/woocommerce/woo.css
Original file line number Diff line number Diff line change
Expand Up @@ -339,4 +339,31 @@ button.woocommerce-form-login__submit {

.variations tr {
display: flex;
}

/* 2 Column Checkout */

@media(min-width:768px) {
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
width: 90%;
}

#customer_details {
display: flex;
flex-flow: column nowrap;
float: left;
width: 50%;
}

#customer_details .col-2 {
width: 90%;
margin-top: 20px;
}

#order_review,
#order_review_heading {
width: 50%;
float: left;
}
}
5 changes: 4 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,10 @@ li.comment {
}


/* Center an uneven row - below is an example of 2 cols centered in a 3 col layout */
/* Center an uneven row - below is an example of 2 cols centered in a 3 col layout
* Class is applied in Column Parent Column
*/

@media (min-width: 768px) {
.two-row-three-parent .fl-col-group {
display: flex;
Expand Down

0 comments on commit 684a766

Please sign in to comment.