Hello,
our customer wanted to replace the magnifying glass icon in the main menu with a search box. For this we have implemented the following instructions: https://kriesi.at/support/topic/enfold-removing-the-search-magnifying-glass-and-adding-in-the-search-field/
This works as far as intended, but there is an undesirable behavior. On mouseover, the search box shifts for 15px to the left. The reason for this is an inline style change on mouseover from
… <div style = “opacity: 0; display: none;”> …
to
… <div style = “opacity: 0; display: none; right: 15px;”> …
Why does that happen or what should we do to keep the search box from moving?
Many Thanks.
Yours sincerely,
heartbit
Hey heartbit,
Sorry for the late reply, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
#top #searchform > div {
right: 0px !important;
}
Best regards,
Mike
Hey Mike,
it works. Thank You very much!
Best regards,
heartbit
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)
Best regards,
Mike