lopezworks Posted October 24, 2023 Share Posted October 24, 2023 Hi all! I'm hoping to get some help adding some custom features to my navigation links. I'd love to be able to add brackets to any navigation link that is being hovered on or is active. Example) unactive: ABOUT hovered: [ABOUT] active: [ABOUT] Thank you for any help!! I've already disabled the underline with custom CSS, but I wasn't sure if this was possible to do. Link to comment
Web_Solutions Posted October 24, 2023 Share Posted October 24, 2023 7 hours ago, lopezworks said: Hi all! I'm hoping to get some help adding some custom features to my navigation links. I'd love to be able to add brackets to any navigation link that is being hovered on or is active. Example) unactive: ABOUT hovered: [ABOUT] active: [ABOUT] Thank you for any help!! I've already disabled the underline with custom CSS, but I wasn't sure if this was possible to do. Can you share your website URL? It will easier to give the solution. If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
lopezworks Posted October 24, 2023 Author Share Posted October 24, 2023 10 hours ago, Web_Solutions said: Can you share your website URL? It will easier to give the solution. Yes! It's https://www.lopezworks.com Link to comment
Solution Web_Solutions Posted October 25, 2023 Solution Share Posted October 25, 2023 6 hours ago, lopezworks said: Yes! It's https://www.lopezworks.com Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS. .header-nav .header-nav-item a:before { content: "["; opacity: 0; transition: 0.2s; } .header-nav .header-nav-item a:after { content: "]"; opacity: 0; transition: 0.2s; } .header-nav .header-nav-item a:hover:after, .header-nav .header-nav-item a:hover:before, .header-nav .header-nav-item--active a:after, .header-nav .header-nav-item--active a:before { opacity: 1; transition: 0.2s; } tuanphan 1 If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
lopezworks Posted October 25, 2023 Author Share Posted October 25, 2023 3 minutes ago, Web_Solutions said: Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS. .header-nav .header-nav-item a:before { content: "["; opacity: 0; transition: 0.2s; } .header-nav .header-nav-item a:after { content: "]"; opacity: 0; transition: 0.2s; } .header-nav .header-nav-item a:hover:after, .header-nav .header-nav-item a:hover:before, .header-nav .header-nav-item--active a:after, .header-nav .header-nav-item--active a:before { opacity: 1; transition: 0.2s; } Wow!! thank you so much, this is awesome. Link to comment
Web_Solutions Posted October 25, 2023 Share Posted October 25, 2023 3 minutes ago, lopezworks said: Wow!! thank you so much, this is awesome. Welcome! If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment