Jump to content

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

Recommended Posts

  • Replies 1
  • Views 265
  • Created
  • Last Reply

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.