Last active
December 4, 2021 08:11
-
-
Save neilgee/814188b7ff5617bea625408016a38f05 to your computer and use it in GitHub Desktop.
WooCommerce 2-column checkout page
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
/* 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