I’m turning my website into a webview application. However, when I want to hide the header part, I cannot achieve my goal. I have done a lot of research and my own experiments on Community, but I could not find a solution to the error I encountered. Let me tell you what I want to do.
First, I open my website and view it with webview. Then I find the ID of the header I want to hide and try to close its view with the evaluate block.
document.getElementById(‘header-wrap’).style.display = “none”;
the code i used. However, I cannot show the rearranged version of my website in webview. Header part keeps coming up. What should I do or where did I go wrong? Thank you.