-
AuthorPosts
-
November 7, 2017 at 9:15 pm #873893
Hello,
I inserted a search bar at the top right of the header (in Secondary Menu). But when I type into its input field, no letters/words are visible. I use Internet Explorer 11.
Best regards
November 10, 2017 at 5:08 am #874964Hey med,
Thank you for using Enfold
The search bar is working properly when I checked it on IE. However, I did find an error in the console from a custom script.
custom-general.js?ver=2.0.0:5 Uncaught ReferenceError: ga is not defined
at HTMLBodyElement._gaLt (custom-general.js?ver=2.0.0:5)What is that script for?
Best regards,
IsmaelNovember 10, 2017 at 8:36 pm #875360Hello Ismael,
thank you for checking this. I fixed the JS error – it was only a Google Analytics script thing.
I have this problem with the Search bar only in IE11 (unfortunately an important browser version which I cannot ignore).
When you reload the page with Shift+F5 and try typing into the top Search bar, the typing gets possible only after you click into the Search bar 3-4 or more times.Best regards
November 12, 2017 at 8:17 pm #875801Hi,
In Edge (IE11 emulation) you are getting this javascript error:SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd.
I couldn’t find the exact code explanation, other than javascript.
Best regards,
MikeNovember 15, 2017 at 6:31 pm #877182Hello Mike,
thank you for checking.
By the way, if you have Windows 10 with Edge, then you per default should have also IE 11 under the programms, a light blue icon.I now checked both under Edge and IE11 and here there are no JS Errors, only a Security Warning SEC7115 concerning color attributes in HTML, which in my opinion are irrelevant in this case.
It seems to be a problem with the focus of cursor, why one has problems when trying to type something into the search bar at the top right of the header. How can this be solved?
Best regards
November 16, 2017 at 1:54 am #877304Hi,
True, I don’t see the above error that I pasted now, odd. But I have been researching this issue with IE11 which seems to go back two years, with it being a bug in the program and MS suggesting to upgrade. Yet the same issue is now being reported in Edge. Here is one example: You cannot type data into an input field in Internet Explorer unless you click the field two times
Yet this does not explain why the sidebar search works fine. Unless your topbar popup is taking the focus, which was noted in some of the issues I found. (Text box losing focus that is)
I also note that .av-logo-container is over lapping #header_meta.container , perhaps applying a higher z-index or some margin to remove the overlap will help.
Try disabling your plugins and adding a z-index to the search item:#menu-item-5571 { z-index: 200 !important; }
Best regards,
MikeNovember 16, 2017 at 1:50 pm #877519Hello Mike,
thanks a lot for your research and ideas.
My Win 10 and IE11 receives the newest updates automatically and seems to be up-to-date.
I tried this CSS:#header_meta .container { z-index: 150 !important; height:3px !important; min-height:3px !important; } #header_meta .sub_menu { z-index: 200 !important; } #menu-item-5571 { z-index: 201 !important; } #header_meta { height:3px !important; min-height:3px !important; }
so that the search bar would not be overlapped by other elements any more and had the highest z-index.
Unfortunately it did not make any change for the bad focus.In case you have more solution suggestions they are always welcome, otherwise I think I will leave the site at the moment like it is.
Best regards
November 18, 2017 at 7:27 am #878372Hi,
Thank you for the info. I can reproduce the issue but I can’t figure out what’s causing it. Did you add any custom scripts in the theme? Is the search bar working if you place it on another location?
Best regards,
IsmaelNovember 20, 2017 at 6:58 pm #879287I inserted the same search bar in the same way into the footer menu – and having there the same focus problem, too.
There was a JS for tracking outbound links, which I removed now for testing purpose, but it didn’t change anything, too. There are no other JavaScripts from us added.
Best regards
November 21, 2017 at 5:03 am #879472Hi,
I tested the search bar shortcode on a clean install localhost in the Header Phone Number/Extra Info area and was not able to reproduce the issue in Edge or IE11, with or without a search in the sidebar.
There must be something else going on, but I’m unsure how to isolate it.Best regards,
MikeDecember 15, 2017 at 6:14 pm #889348Hello,
I inserted 2 search bars at the top right at the same time according to this quide https://kriesi.at/support/topic/move-search-icon-to-secondary-menu-3/#post-736420:
one through “Menu item” (the smaller one) and one through “Phone number” (the bigger one).As you can see in IE 11 the smaller one has the focus-problem, and the bigger one not.
Therefore I would say it is a problem of WordPress menus in IE 11 or of Enfold Menus in IE 11.The Search bar through “Menu item” (which has the focus-problem) would be much more comfortable, because it lands automatically at the very end of the top menu.
Now I had to insert jQuery for the Search bar through “Phone number” in order to push it to the very right. Which is visible during page loading as this bar is jumping, in desktop and in mobile modus, – not nice! See the link in the private content. Some ideas?Best regards
December 17, 2017 at 3:53 pm #889787Hi,
Glad to see you have found that the phone number area doesn’t have the focus issue. Since you want the phone number area to the far right, without the use of css or js, so you won’t have any loading movement, I have edited “helper-main-menu.php” to do so.
You can use it with your child theme so the next update won’t overwrite it. If you use it with your parent theme, save a backup of the original.
This css aligns the menu with the search better:.av_secondary_right .sub_menu { padding-right: 10px!important; padding-top: 10px!important; }
See Private Content area for fileBest regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.