Lian Posted September 10, 2020 Posted September 10, 2020 Site URL: https://www.travelelectric.com/ Hi, does anyone know how to hide this "search tool tekst"(see print screen) in the header of my site? I've added this in the page header code injection to create an search icon. But I don't want this tekst to appear.
tuanphan Posted September 12, 2020 Posted September 12, 2020 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.