JamesJ Posted May 25, 2022 Posted May 25, 2022 Site URL: https://www.waileage.org/test I have attempted to freeze the top row and first column in the table generated from javascript. I have tried editing the css and javascript to force the top row and first column not to scroll, but without success. I looked through the forum, but couldn't find anything related to the problem I am encountering. Any suggestions would be greatly appreciated. Thanks.
Beyondspace Posted May 25, 2022 Posted May 25, 2022 (edited) 1 hour ago, JamesJ said: Site URL: https://www.waileage.org/test I have attempted to freeze the top row and first column in the table generated from javascript. I have tried editing the css and javascript to force the top row and first column not to scroll, but without success. I looked through the forum, but couldn't find anything related to the problem I am encountering. Any suggestions would be greatly appreciated. Thanks. You can try #block-yui_3_17_2_1_1653416757427_3075 thead { position: sticky; top: 0; } #block-yui_3_17_2_1_1653416757427_3075 tbody tr td:first-child { position: sticky; left: 0; } Hope it makes sense Edited May 25, 2022 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
JamesJ Posted May 25, 2022 Author Posted May 25, 2022 Fantastic! Thanks bangank36! That did the trick.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment