Dear Kriesi
When the search icon in the menu is clicked and the dropdown appears I’d like to replace the active magnify glass with a cross.
Is there a way to do this?
Thanks
Richard
Hey raslade,
Please see the following for modifying theme icons: http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/
Best regards,
Jordan Shannon
Thanks Jordan
How do you replace a specific icon for this specific state though on the search menu item?
Richard
Hi raslade,
If it’s a font icon it can be added via css, but it has to be added in such a way so that it does not make the element bigger.
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria
OK thanks – do you know which selector it would be. I've tried
#top #menu-item-search:hover>a {
content: "/ue813";
}
Richard
Hi,
Please provide a link to the site so we can inspect the element.
Best regards,
Jordan Shannon
I’ve got a plugin installed to mask the site but this link should work.
Richard
Hi,
Okay, looking at this a little further I have a better idea of what you need. When the search icon is in the black state, you want that to be a cross? This can likely be done via JavaScript, but I would need admin access to work it out.
Best regards,
Jordan Shannon