The code in that post uses jQuery to hide the element (section, row or module) once the page has loaded. The problem with this is that the element can be briefly visible while the page loads. A better approach is to hide the element with CSS, which takes effect right away and will keep the element hidden during the page load.
Here's my version of the code from that post which achieves this. The process of using it is the same as before:
Related Post: Adding CSS to the Divi Theme