Sticky Header and Footer for Table in WordPress

I’m using Table Press plugin for inserting table in WordPress with Elementor The Table Header and Footer to be sticky when scrolling the site, that’s what I’m trying. Sticky was supporting only when using html, css, js. but implementing the same css or js in wordpress couldn’t work..