Created
January 13, 2023 05:57
-
-
Save plugin-republic/a0027dee9f209a486a68e51674691c85 to your computer and use it in GitHub Desktop.
Sticky headers for scrollable grid table in Better Variations
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
.wcbvp-scrollable { | |
height: 500px; | |
} | |
.woocommerce div.product form.cart table { | |
border-width: 0 0 1px; | |
position: relative; | |
} | |
.wcbvp-table-wrapper thead th { | |
position: sticky; | |
top: 0; | |
background: #E0E0E0; | |
} | |
.wcbvp-table-wrapper tbody th { | |
position: sticky; | |
left: 0; | |
background: E0E0E0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment