How to change menu border/top line color
-
Hi I am using the theme in the link below and I’m wondering how do you change the menu border or top line color along with the dropdown menu’s outline color
https://blinkdemo.wordpress.com/
Please help. It’s pretty urgent and I tried looking everywhere and couldn’t find a code that works for this.
The blog I need help with is: (visible only to logged in users)
-
I have changed the border colors but I notice upon hovering over menu options that the top line and dropdown menu line still appears black
-
To change the top border color to the blue you have for the hover color on the text, add the following custom CSS.
div.primary-menu > ul .current-menu-item > a::before, .primary-menu .current-menu-item > a::before { background-color: #1a1aff; } div.primary-menu > ul > li:hover > a::before, .primary-menu > li:hover > a::before { background-color: #1a1aff; }For the top and bottom border on the submenu, add the following.
.main-navigation ul ul { background-color: #1a1aff; } -
-
- The topic ‘How to change menu border/top line color’ is closed to new replies.