Tagged: menus
-
AuthorPosts
-
February 14, 2019 at 9:40 pm #1067150
Hi guys,
This has been happening for a long time but it was not a priority before.
To better explain what happens I took two screenshots and made notes.
Hope it helps and that there is a solution. It is really strange behavior. And it happens on all the Menus and posts (unless they have been categorized as “Ideas para Bodas”)
Thank you!!
Havi
February 16, 2019 at 9:32 pm #1067800Hey havi,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaFebruary 16, 2019 at 10:17 pm #1067826Hi Victoria!!
Absolutely!! Adding all the credentials in the Private section.
If there is anything else you need, just let me know. (Also, I have a couple of additional ticket for this site, feel free to check them out here as well)
Thank you!!!
Havi
February 21, 2019 at 11:22 pm #1070136Hi,
Please check the web site now, let me know if it is fixed :)
Remember to clear your cache.Best regards,
BasilisFebruary 21, 2019 at 11:32 pm #1070141Hi Basilis,
Nope. It’s still not working and now the home page is totally off, especially the image sizes. Thank goodness this is a staging site. (Yes, cleared the cache – a couple of times)
Just in case you fix it, remember you have to tell me what to manually apply to the Live site.
Best regards,
Havi
February 25, 2019 at 5:07 am #1071132Hi Basilis,
Is this ticket about something similar to mine? (I don’t think it’s exactly the same but kinda looks like mine: https://kriesi.at/support/topic/navigation-underline-on-active-items-not-visible/)
February 28, 2019 at 7:17 am #1072510Hi,
Sorry for the late reply, I took a look at your site, and was able to find the “Amazing Venues” page, which is now highlighting the menu item “Wedding Ideas” I also checked a few others, but they all seemed to match.
Do you still see any that are not correct?Best regards,
MikeMarch 1, 2019 at 5:21 pm #1073277Hi Mike,
The Pages always show properly on the menus. It’s the blog categories that do not. I did make a change: I removed the page on the Enfold settings where it says: Blog Page as every post was showing the same blog category (The whole website is a blog, so there really is no blog page – unless you think as the home as one and not even)
This eliminated Ideas para Bodas from always being highlighted/underlined on the Menu whenever you were on a blog post (which was odd).
The only thing left seems to be being able to highlight the proper menu top page when the post belongs to one of those categories. But it may be something Enfold does not have.
At least I found the way of removing the same Menu Item to always being underlined pointing to the wrong category!Best,
Havi
March 2, 2019 at 6:09 pm #1073647Hi,
Glad to hear that you unset the “Blog Page” in the theme options, this overrides a few settings because it thinks that you have only one page as the blog, unlike yours.
I have a solution to highlight a menu item of choice based on category, first is to add a category class to the page, because right now there is nothing in the code of each page or post as to which category it belongs to.
Try adding this code to the end of your functions.php file in Appearance > Editor:add_filter('body_class','add_category_to_single'); function add_category_to_single($classes) { if (is_single() ) { global $post; foreach((get_the_category($post->ID)) as $category) { // add category slug to the $classes array $classes[] = $category->category_nicename; } } // return the $classes array return $classes; }
Then we will need to add some css to highlight the correct menu item, so I will need a list of your categories and which menu item you want highlighted.
It would be best to ensure at least one category is unique for each menu item.Best regards,
MikeMarch 5, 2019 at 12:24 am #1074556Hi Mike!!
I appreciate this but I think I’m good just being able to remove a single page/category from being highlighted on the menu for all posts.
Maybe we can try it down the road but it won’t move the needle as far as increasing pageviews (all a publisher wants) ;) and rankings!
If you ever want to create multipage sliders to help more publishers use Enfold, count on me to help out!! (If you want to see a few samples, check out brides.com) They do a fab job of increasing engagement (and you always click to see more photos – and it’s all a single post with a variable after the page slug so it only counts as a single page for Google, you can add more Adsense ads and there’s lot of interaction with the visitor)
Best regards,
Havi
March 5, 2019 at 4:08 am #1074619 -
AuthorPosts
- You must be logged in to reply to this topic.