Tagged: Tags
-
AuthorPosts
-
April 4, 2017 at 7:42 am #771562
I’m trying to determine if this is a WordPress issue, an Enfold issue, or something else. This occurs on the current version of WordPress 4.7.3 and the one just before, with Enfold 3.8.4 and 4.0.4.
It appears that all tags in the system are displaying, not just the tags assigned to a post. Below is a link to a page where that happens. This post only has four tags assigned, yet it displays a multitude of them.
The option in Enfold to hide tags does not work, and I can’t find an option in wordpress to do the same. What do you suggest?
April 5, 2017 at 6:10 am #772210Hey InternationalPartneringInstitute,
I see the problem, please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardApril 6, 2017 at 11:51 pm #773599Hi Rikard,
Thanks for taking a look. I have a second issue I haven’t been able to solve with solutions I’ve found in support. But I’ll get back to that after this. The temp admin account is below.
April 7, 2017 at 7:29 am #773731Hi,
You allow that me disable all the plugins and switch the theme to check somethings?
Best regards,
John TorvikApril 7, 2017 at 8:53 pm #774190Hi John,
No, I do not. Not on their production site. I appreciate your asking.
We have a staged copy of the site where you can run any tests necessary. The same issues occur on this copy. Your login credentials are the same on the staged site. See the link below.
April 9, 2017 at 10:24 am #774865Hi,
Thanks for that, I deactivated all plugins and your tags went back to normal after that, so one of the plugins you are using is causing a conflict. You can find out which one is guilty by activating them one by one to see when the problem occurs.
Best regards,
RikardApril 11, 2017 at 6:45 am #775820It was W3 Total Cache causing the conflict! Thanks, Rikard!
Now for the other issue I mentioned earlier…
Enfold hides the search viewfinder when in mobile. I’ve tried several solutions I’ve found here in support but I can’t get it to work. Even this theme used on this support site does that. My client would like the search option to be visible on mobile. Can you help me make it work?
Thanks!
April 11, 2017 at 8:40 pm #776299Hi Rikard,
Here is a link to solution to the Search-Icon-dissapears-on-mobile issue which I have tried. None of which works. The code they suggest to add to Quick CSS is added right now, but the search icon is nowhere to be seen in mobile or tablet.
https://kriesi.at/support/topic/search-icon-disappears-on-mobile-after-enfold-update-3-1-3/
April 13, 2017 at 12:27 pm #777205April 19, 2017 at 10:49 pm #780197Hi Victoria,
Didn’t realize you had replied. I didn’t get a notification of this post, so sorry for delay.
I would like it to appear next to the burger menu. Note that the shopping cart menu appears there too. I’d like them all lined in a row.
Thank you!
April 20, 2017 at 3:11 pm #780559Hi,
I am asking, because as you can see on the screenshot below, there is no room for it there, the logo is even covered by the cart icon. So we need to come up with an alternative solution.
Let me know what you think.
Best regards,
VictoriaApril 20, 2017 at 10:02 pm #780813Hi Victoria,
I appreciate that you are considering that it overlaps the logo. It’s going to overlap something, and the logo is already partly covered. Maybe the best place to put it is under the burger menu. Can you do that instead?
Thank you!
April 25, 2017 at 1:18 am #782608Hi Victoria,
I’m just following up with this as my client is getting anxious about making search option available to their mobile visitors. Can you put the Search icon under the burger “[ = ]” menu ?
April 25, 2017 at 2:12 pm #782883Hi InternationalPartneringInstitute,
I found a better spot for search.
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css@media only screen and (max-width: 767px) { .responsive #top .logo { width: 60%; } #top-line .container { max-width: 80%; } .avia-search-tooltip.avia-tt { background-color: #fff; } }
and this code has to go to your functions.php
function av_move_search_mobile(){ ?> <script> jQuery(window).load(function(){ jQuery("li#menu-item-search a").detach().css({"height": "auto", "line-height": "initial"}).appendTo('#top-line .container'); }); </script> <?php } add_action('wp_footer', 'av_move_search_mobile');
If you need further assistance please let us know.
Best regards,
VictoriaApril 26, 2017 at 7:17 am #783272Hi Victoria,
I like your choice of position. Only thing, this does create a new problem. When you resize the window or scroll up and down the menu rolls under the orange line and disappears in the white space, making it invisible. The only way to make it return is to refresh the page. Try it out.
Can you fix that?
April 26, 2017 at 3:25 pm #783534Hi,
Let’s adjust the function, so that it works like that only on mobile, and then we see what else we can do
function av_move_search_mobile(){ ?> <script> jQuery(window).load(function(){ if (jQuery.avia_utilities.isMobile) { jQuery("li#menu-item-search a").detach().css({"height": "auto", "line-height": "initial"}).appendTo('#top-line .container'); } }); </script> <?php }
Best regards,
VictoriaMay 2, 2017 at 6:04 am #786141Hi Victoria,
The new function makes the search icon disappear altogether.
May 2, 2017 at 3:44 pm #786448Hi InternationalPartneringInstitute,
Is the css I gave before still there? Or you removed it?
Best regards,
VictoriaMay 2, 2017 at 3:49 pm #786452Hi Victoria,
The CSS is still there unchanged. I only replaced the function.
May 2, 2017 at 9:27 pm #786721Hi,
For some reason this jQuery.avia_utilities.isMobile on your instance gives false on mobile, so the code does not work. Well, we can stick to initial function, but then the search will be near login, in the top nav on deskctops as well. Is that ok, or should we try to come up with another solution?
Best regards,
VictoriaMay 3, 2017 at 2:05 am #786820That should be okay, Victoria. Put on the same place for desktop and mobile.
I’ve put back the initial function.
May 4, 2017 at 5:44 pm #787966Hi InternationalPartneringInstitute,
So we consider this closed, or something else I forgot to address?
Best regards,
VictoriaMay 5, 2017 at 8:00 am #788246Hi Victoria,
Thank you for your patience and for finding a great spot to put this. This issue is unfortunately not addressed entirely.
The function adds the search function but when the browser window is resized or content is scrolled the entire login menu disappears. Can you take a look?
Much appreciated!
May 6, 2017 at 9:10 pm #788931Hi,
Have you also used the CSS code victoria provided?
Best regards,
BasilisMay 6, 2017 at 11:09 pm #788970Hi Basilis,
Yes, it is installed. And you can see how it behaved at the link below.
May 7, 2017 at 8:35 pm #789172Hi,
This css has to be added:
@media only screen and (max-width: 767px) { #top-line { vertical-align: top; height: 30px; } #top-line > .container { height: inherit; max-width: 90%; position: fixed; top: 0 !important; } #search-icon-link { height: 25px !important; line-height: 25px !important; width: 25px; } #top-line div a { line-height: 16px; } }
And Javascript has to be slightly adjusted:
function av_move_search_mobile(){ ?> <script> jQuery(window).load(function(){ jQuery("li#menu-item-search a").detach().css({"height": "auto", "line-height": "initial"}).attr('id', 'search-icon-link').appendTo('#top-line .container'); }); </script> <?php } add_action('wp_footer', 'av_move_search_mobile');
Let me know how this works for you.
Best regards,
VictoriaMay 10, 2017 at 6:45 am #790865Hi Victoria,
This makes it work really well on mobile, and initially on desktop. Resizing of the desktop window still makes the menu disappear into the white background.
I think we need an @media that adjusts for browser windows larger that 767 px.
I appreciate your help.
May 11, 2017 at 4:59 pm #791737Hi InternationalPartneringInstitute,
Looks like the id and style are not added by Javascript. Did you change the code in functions.php to the latest version? Or did you flush the cache?
And you can also use the css for big screens also. Try it :)Best regards,
VictoriaMay 12, 2017 at 12:51 am #791982Hi Victoria,
Maybe I put it in wrong? But I did update the javascript code in functions.php. You can log in to verify. Login below.
Also, I cleared cache on the server and on my laptop and disabled the cashing widget. But the issue persists. It clearly only affects windows wider than 767px.
I’m probably doing something wrong when I update the code. Would you mind logging into the site to verify my work?
Thank you!
May 12, 2017 at 2:24 pm #792311Hi InternationalPartneringInstitute,
This has to be added for all screens:
#search-icon-link { height: 25px !important; line-height: 25px !important; width: 25px; }
Outside the media query.
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.