How do you remove the top header banner on just one page?
Posted by Support, Last modified by Support on 12 December 2014 10:35 AM

Here's how to add remove the top header banner on a page using the HTML Code Widget:

  1. Click on Widgets > Popular.
  2. Drag and drop the HTML Code Widget onto the page.
  3. The HTML Editor will open up allowing you to write or paste your code. Put the following code into the editor area:

<script type="text/javascript">
removeElementsByClass("ys_banner_wrap");
removeElementsByClass("yola_outer_heading_wrap");
function removeElementsByClass(className){
    elements = document.getElementsByClassName(className);
    while(elements.length > 0){
        elements[0].parentNode.removeChild(elements[0]);
    }
}
</script>

    4. When you are done, click "Save".

(0 vote(s))
Helpful
Not helpful