Home › Forums › Support › How to change this? This topic has 10 replies, 2 voices, and was last updated 4 years, 9 months ago by Leo. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts July 22, 2019 at 10:04 am #964340 Ravi Dixit Here is the screenshot of my website’s primary navigation https://prnt.sc/oijtea I am on the homepage, so you can see the Home menu is highlighted with a blue box. I want to change this to an Underline. So when a user on the BLOG page then blog menu should be underlined instead of highlighting with the blue box. Thanks in advance… July 22, 2019 at 2:37 pm #964513 LeoStaff Customer Support Hi there, What about something like this? https://docs.generatepress.com/article/adding-menu-hover-animation/ Let me know ๐ July 22, 2019 at 4:27 pm #964552 Ravi Dixit It is more than good what I was expecting. But I don’t want to show the colour on hover, only underline animation should be shown. I tried to change colour from Customize>Colors>Primary Navigation. But didn’t work… July 22, 2019 at 6:38 pm #964623 LeoStaff Customer Support Try just this: @media (min-width: 769px) { .main-navigation .menu > .menu-item > a::after { content: ""; position: absolute; right: 0; left: 50%; bottom: 15px; -webkit-transform: translateX(-50%); transform: translateX(-50%); display: block; width: 0; height: 2px; background-color: currentColor; transition: 0.3s width ease; } .main-navigation .menu > .menu-item.current-menu-item > a::after, .main-navigation .menu > .menu-item.current-menu-ancestor > a::after { width: 50%; } } You can change the color by modifying currentColor in the code above. July 22, 2019 at 8:33 pm #964665 Ravi Dixit I already did the same but it is changing the line colour, I don’t want to show blue hover colour, It should show the animated underline only. https://prnt.sc/oiqh3o July 23, 2019 at 8:20 am #965152 LeoStaff Customer Support The blue should be coming from the customizer. It’s the background current and background hover. July 23, 2019 at 9:47 am #965239 Ravi Dixit I know that but can I remove that colour and it should only show line. Please help with this. July 23, 2019 at 9:48 am #965240 Ravi Dixit I mean, I only want to show line as Background Current and hover. Don’t want to show any colour. July 23, 2019 at 1:32 pm #965376 LeoStaff Customer Support If you remove the color code from the customizer, then it should show as transparent. Let me know if this helps ๐ July 23, 2019 at 6:40 pm #965531 Ravi Dixit I did the same already but it is making the menu invisible or white. July 23, 2019 at 7:04 pm #965541 LeoStaff Customer Support That’s because your Text Current is set to white as well (so it’s white on white). Have you tried changing that to a different color like black? Author Posts Viewing 11 posts - 1 through 11 (of 11 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In