Skip to content

Instantly share code, notes, and snippets.

@neilgee
Last active December 4, 2021 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilgee/814188b7ff5617bea625408016a38f05 to your computer and use it in GitHub Desktop.
Save neilgee/814188b7ff5617bea625408016a38f05 to your computer and use it in GitHub Desktop.
WooCommerce 2-column checkout page
/* 2-col WooCommerce Checkout - tested in BB Theme, Generate Press, TwentyTwelve, TwentyThirteen, TwentyFourteen TwentyFifteen, TwentySixteen, TwentySeventeen and TwentyNineteen */
/* TwentyTwenty and TwentyTwentyOne already have this CSS or similar */
@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;
clear: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment