Remove JS and just make header fixed with CSS?


I would like to just make the header fixed with CSS and remove the JS that adds the fixed scrolled classes to the main-navigation.

I would just give main-navigation position:fixed at all times in the css rules.

Can you recommend the easiest way to do this? I am not very good with JS.

Kind regards,

Hi Pierre,

I hope you are well today and thank you for your question.

To remove the JS you have to create child theme of Shapely theme and develop custom code in it to modify shapely theme file shapely/js/shapely-scripts.js that contains this code.

Best Regards,