[Support request] Links are not crawlable

Home Forums Support [Support request] Links are not crawlable

Home Forums Support Links are not crawlable

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #2366183
    eran

    Hi,
    When I run the lighthouse test, it shows “Links are not crawlable”.
    It shows it’s from my “More Reviews” li in the menu with no link.
    How can I make a li in the menu without a link so it won’t show that error?

    https://imghostr.com/e843bb_5dh

    #2366958
    David
    Staff
    Customer Support

    Hi there,

    try adding a # to the menu items URL.

    #2366979
    eran

    But then it will hurt my SEO.
    It will be duplicate content, right?

    #2367026
    David
    Staff
    Customer Support

    I don’t think so.
    The issue is the HTML contains <a> anchor element that has no href. By adding the # you give it a href.
    The alternative is to ignore that diagnostic, its not going to affect how users navigate your site

    #2367522
    eran

    I did it with CSS I used this line:
    #primary-menu ul .menu-item-1176>a {
    pointer-events: none;
    }

    But the problem now is that the review changes the color for the hover color.
    How can I fix that?

    #2367665
    David
    Staff
    Customer Support

    Include the color your want it to be in your CSS eg.

    
    #primary-menu ul .menu-item-1176>a {
        pointer-events: none;
        color: var(--3);
    }
    #2369142
    eran

    Hi David.
    It didn’t fix my problem because the hover color does not change to the menu hover color when I’m hover the “review” or in the submenu pages.

    #2369229
    Ying
    Staff
    Customer Support

    I don’t see color: var(--3); has been added to the CSS, I only see the pointer-events: none;.

    Can you make sure the cache is cleared after you modified the CSS?

    Let me know 🙂

    #2369389
    eran

    It’s because I delete it.
    Now I add it back.

    #2369419
    Fernando
    Customer Support

    Try this CSS:

    .main-navigation .main-nav ul li.menu-item-1176 {
        pointer-events: none;
    }
    
    .main-navigation .main-nav ul li.menu-item-1176:hover > a {
        color: var(--7);
    }
    
    .main-navigation .main-nav ul li.menu-item-1176 > a {
        color: var(--3);
    }
    #2370053
    eran

    Didn’t work

    #2370231
    Ying
    Staff
    Customer Support

    I checked your other links, it seems if you don’t add any color CSS to the menu item 1176, it behaves the same as other menu items.

    Can you specify what color you want it to be when hovered and when as the current menu item?

    #2370310
    eran

    I want the “Review” to be the same hover color as the other menu pages.
    Plus, when I’m on the “Best Audio Mixer For Twitch Streaming” page under “review” I want the “review” to have a hover color.
    I want it to behave like a regular menu item.

    #2370331
    Ying
    Staff
    Customer Support

    Try remove other CSS, then add this CSS only:

    #primary-menu ul li[class*="current-menu-"].menu-item-1176>a {
        color: var(--7);
    }
    .main-navigation .main-nav ul li.menu-item-1176>a {
        pointer-events: none;
    }
    
    .main-navigation .main-nav ul li.menu-item-1176:hover > a {
        color: var(--7);
    }
    
    .main-navigation .main-nav ul li.menu-item-1176 > a {
        color: var(--3);
    }
    
    #2370554
    eran

    It doesn’t work.
    When I’m hovering it, the color doesn’t change, and when I’m not hovering it, the color has the hover color.

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