Tagged: social icons
-
AuthorPosts
-
January 3, 2018 at 1:42 pm #892821
Hi,
My header menu is customized for client wishes. Only thing is the text box for the search icon is not visible anymore.
Something I did wrong with the main menu height, line-height I guess.
Could you take a quick look?
The other option is,
– making the search icon a social menu item, just the way I did with the shopping bag.January 5, 2018 at 10:15 am #893641Hey Mariken,
Thank you for using Enfold.
There are 2 search or magnifying glass icon in the header. How did you add them?
Best regards,
IsmaelJanuary 5, 2018 at 12:45 pm #893697Ismael,
Thanks for having a look at the issue.
As far as I know I only added one magnifying glass in the main menu. Main menu options, general settings.
I did modify the order of the menu items.
Best regards,
MarikenJanuary 8, 2018 at 3:54 am #894561Hi,
How did you move the search icon inside the social bookmarks container?
Best regards,
IsmaelJanuary 8, 2018 at 1:45 pm #894703Ismael,
I did forget how, but I found it:
I added this script in the functions.php
<script>
(function($){
$(window).load(function() {
$(“.social_bookmarks”).append($(“#menu-item-search”).detach());
});
})(jQuery);
</script>January 9, 2018 at 5:02 am #895076Hi,
Thank you for the info. I would like to check this again but the search icon is now redirecting to a new page.
Best regards,
IsmaelJanuary 10, 2018 at 2:32 pm #895676Ismael,
The problem started because I made the menu 100% width I guess. Then I the z-index needed a fix otherwise the logo was not clickable, ….and so I on, …like painting the floor I find myself stuck in the corner. ;)
Yes, you’re right. That was the idea or rather the implication of the other option:
– making the search icon a social menu item, just the way I did with the shopping bag.I deleted the script in the function.php and put the search icon in the header menu settings off.
It is functioning and okay for client.
January 11, 2018 at 7:56 am #896017Hi,
Alright. I’m glad that you’ve found a workaround that you’re satisfied with. Please feel free to open a new thread if you need anything else. :)
Best regards,
IsmaelJanuary 11, 2018 at 7:56 am #896018 -
AuthorPosts
- You must be logged in to reply to this topic.