How to Highlight Current Page Link of Navigation Menu in WordPress
ฝัง
- เผยแพร่เมื่อ 3 ต.ค. 2024
- In this video i told you, how can you highlight the current active page link in wordpress navigation menu using css.
Custom Css :
.current-menu-item a {
color: #fce77d !important;
background: #f96167 !important;
}
Thank you so much, I am a novice and learning how to create and improve my website. Your tutorial was fantastic. It was clear, concise, and immediately gave me what I was looking for. It took me less than two minutes to complete this task. Awesome and thank you!
Clear, effective and simple explanation. Thank you.
.current-menu-item a {
color: #ffffff !important;
background: #fb2056 !important;
border-radius: 20px !important;
height: 35px !important;
}
Great video, easiest solution! Many other videos use html and javascript to achieve the same result.
Thank you for providing real information
It highglits the ALL the lower-menus too ... the unselected ones too, which is under the main menu.
Is 'current-menu-item' a class you have defined for your navigation menu ?
Hi! you video was very useful, but on my page I have a shrinking menu on scroll and when I scroll down the highlight disappears. Ideas how to fix this?
Thankyou so much sir...it's really helpful
Simple,Very Good!
Very helpful ❤️
Thanks for the great video. How can I make the side navigation created as a widget for right side bar of the page and not the main header menu? Currently with the code you have mentioned highlights the main nav menu and side menu. I just want side nav menu which is menu 2 Thank you
You are THE MAN
it does not work at all
Perfect bro ........
Not working for me , only showing home screen
Thanks bro!
thank you bro
Thank you so much. It really works. Keep it up. Subscribe and like you.
You're a boss
Tq soo much
thanks buddy
does not work :|
bro react app build termux video please
Video published:
th-cam.com/video/GSRISDJWGeg/w-d-xo.html
Keep requesting,
Regards