- This topic has 15 replies, 4 voices, and was last updated 1 year, 6 months ago by Fernando.
-
AuthorPosts
-
October 7, 2022 at 6:24 am #2366183eran
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?October 8, 2022 at 5:06 am #2366958DavidStaffCustomer SupportHi there,
try adding a
#
to the menu items URL.October 8, 2022 at 5:37 am #2366979eranBut then it will hurt my SEO.
It will be duplicate content, right?October 8, 2022 at 6:53 am #2367026DavidStaffCustomer SupportI 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 siteOctober 9, 2022 at 1:21 am #2367522eranI 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?October 9, 2022 at 5:31 am #2367665DavidStaffCustomer SupportInclude the color your want it to be in your CSS eg.
#primary-menu ul .menu-item-1176>a { pointer-events: none; color: var(--3); }
October 10, 2022 at 11:58 am #2369142eranHi 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.October 10, 2022 at 2:24 pm #2369229YingStaffCustomer SupportI don’t see
color: var(--3);
has been added to the CSS, I only see thepointer-events: none;
.Can you make sure the cache is cleared after you modified the CSS?
Let me know 🙂
October 10, 2022 at 8:03 pm #2369389eranIt’s because I delete it.
Now I add it back.October 10, 2022 at 9:11 pm #2369419Fernando Customer SupportTry 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); }
October 11, 2022 at 8:04 am #2370053eranDidn’t work
October 11, 2022 at 10:49 am #2370231YingStaffCustomer SupportI 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?
October 11, 2022 at 11:53 am #2370310eranI 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.October 11, 2022 at 12:17 pm #2370331YingStaffCustomer SupportTry 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); }
October 11, 2022 at 8:24 pm #2370554eranIt 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. -
AuthorPosts
- You must be logged in to reply to this topic.