Page Publishing

Do share how!

3 Likes

With javascript I removed the element from the page on page load and I added an anchor link to the header after the logo to return back to the forum.

<script type="text/javascript">
  window.addEventListener('load', function() {
    var header = document.querySelector('.published-page-content-header');
    if (header) {
      header.parentNode.removeChild(header);
    }
  });

 window.addEventListener('load', function() {
    var headerWrapper = document.querySelector('.published-page-header-wrapper');
    if (headerWrapper) {
      var backToForumLink = headerWrapper.querySelector('a');
      if (backToForumLink) {
        var customHtml = '<a href="/" >Back </a>&nbsp;&nbsp;';
        backToForumLink.insertAdjacentHTML('afterend', customHtml);
      }
    }
  });
</script>
3 Likes