My client says that it is not obvious for the user that he has to press again the magnifier icon on top for the search form to close.
How can I add a close button? Can you please give me a hint?
Thanks in advance
Depika
<img class="search-close" src="path_to_image_with_x" />
<script type="text/javascript">(function($) {$(document).ready(function() {
$('.search-close').click(function(){
$('#gkSearch').removeClass('active');
});
});})(jQuery)</script>
depika wrote:Thank you so much. It worked like a charm.
the only difference is that I needed to add the image at file default.php under folder
html/mod_virtuemart_search
depika wrote:Thank you so much. It worked like a charm.
the only difference is that I needed to add the image at file default.php under folder
html/mod_virtuemart_search