JamesJ Posted May 25, 2022 Share 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. Link to comment
Beyondspace Posted May 25, 2022 Share 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) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
JamesJ Posted May 25, 2022 Author Share Posted May 25, 2022 Fantastic! Thanks bangank36! That did the trick. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment