Jump to content

How to remove icon on website added in pageheader code injection?

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Edit your code

Search tool//
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script>
  $(function(){
  let searchBlock = $('#block-yui_3_17_2_1_1599758294021_21592')
  .attr('id', '')
  .addClass('header-search-bar');
  
 $(searchBlock).insertAfter($('.header-actions-action.header-actions-action--social'));
  $(searchBlock).clone().addClass('mobile-header-search-bar').appendTo($('.header-menu-nav-folder-content'));
  })
</script>

to this

<!-- Search tool -->
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script>
  $(function(){
  let searchBlock = $('#block-yui_3_17_2_1_1599758294021_21592')
  .attr('id', '')
  .addClass('header-search-bar');
  
 $(searchBlock).insertAfter($('.header-actions-action.header-actions-action--social'));
  $(searchBlock).clone().addClass('mobile-header-search-bar').appendTo($('.header-menu-nav-folder-content'));
  })
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.