Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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”)

    View post on imgur.com

    View post on imgur.com

    Thank you!!

    Havi

    #1067800

    Hey havi,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1067826

    Hi 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

    #1070136

    Hi,

    Please check the web site now, let me know if it is fixed :)
    Remember to clear your cache.

    Best regards,
    Basilis

    #1070141

    Hi 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

    #1071132

    Hi 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/)

    #1072510

    Hi,
    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,
    Mike

    #1073277

    Hi 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

    #1073647

    Hi,
    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,
    Mike

    #1074556

    Hi 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

    #1074619

    Hi,

    @Havi
    interesting slider concept. For your menu item did you want some assistance in removing a single category from being highlighted in the menu?
    We could remove the “current-menu-item” class from every page within the category, with javascript.

    Best regards,
    Mike

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.