Skip to content

Instantly share code, notes, and snippets.

@plugin-republic
Created January 13, 2023 05:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Sticky headers for scrollable grid table in Better Variations
.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