- This topic has 20 replies, 3 voices, and was last updated 8 years, 4 months ago by
Ezekiel.
-
AuthorPosts
-
October 16, 2017 at 3:53 am #404003
Ezekiel
Hi,
Please, how can I make my navigation menu font turn bold when I hover and stay bold to show the current page?Thank you.
October 16, 2017 at 8:45 am #404219Leo
StaffCustomer SupportHi there,
Try this CSS:
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li[class*="current-menu-"] > a, .footer-bar .widget_nav_menu .menu-item a:hover, .footer-bar .widget_nav_menu .current-menu-item a { font-weight: 600; }Adding CSS: https://docs.generatepress.com/article/adding-css/
October 17, 2017 at 2:23 am #404692Ezekiel
Hello Leo,
I am personally blown away at the awesomeness of you guys, it worked perfectly.
Thank you so much, Leo.
October 17, 2017 at 8:46 am #404990Leo
StaffCustomer SupportGlad we’ve been helpful 🙂
October 21, 2017 at 4:40 pm #407709Ezekiel
Hello Leo,
Thank you for your help. Please, how can I make the footer menu to be and behave exactly like my Primary menu and also to make the hover transition smother?
I apologize if I am asking for too much, I am quite a novice.
Ezekiel.
October 21, 2017 at 6:27 pm #407730Leo
StaffCustomer SupportEdited the code here: https://generatepress.com/forums/topic/how-to-make-navigation-menu-font-turn-bold-when-you-hover/#post-404219
Give it a shot and let me know 🙂
October 21, 2017 at 6:57 pm #407734Ezekiel
Wow! thank you for the quick response, I just tried the edited code and it didn’t work, it turned off the hover effect altogether.
October 21, 2017 at 7:00 pm #407735Ezekiel
it turned off the hover effect for both the Primary menu and the footer menu. I am using a different menu for the Primary and the footer menu if that’ll help
October 21, 2017 at 9:17 pm #407761Leo
StaffCustomer SupportEdited the code again. Made a couple mistakes before. Can you try it again?
October 22, 2017 at 6:20 am #407878Ezekiel
Just did, but the hover and the current effect are still not working on the footer menu.
October 22, 2017 at 6:52 am #407880Ezekiel
almost there
October 22, 2017 at 9:29 am #407984Leo
StaffCustomer SupportOops another edit. It should work now 🙂
October 22, 2017 at 11:30 am #408070Ezekiel
Yes!!! it works perfectly!!!
Thank you so much, Leo, you are Heaven sent!October 22, 2017 at 11:52 am #408075Leo
StaffCustomer SupportGlad I could help!
November 20, 2017 at 3:56 am #428766Ezekiel
Hello Leo,
I need help to make the other menu links ‘not move’ when you hover over any other menu item and make the transition smoother. This is because when you hover over one menu it makes the other menu links move.So sorry to bug you this much, I have been learning CSS for some time now trying to figure this out on my own but I haven’t been successful so far.
Thank you kindly.
Ezekiel. -
AuthorPosts
- You must be logged in to reply to this topic.