WordPress.org

Support

Support » Themes and Templates » No underlines menu on mouseover

No underlines menu on mouseover

  • Theme
    Stargazer -> Spring Song

    Problem
    When you go with your mouse over the pages in the menu it changes color and there appears a underline. The problem is that my friend doesn’t want the underline.

    Code

    I think there must be something changed in the child theme, here is the piece of code I think I have to change something in:

    #menu-primary li a {
    	font-weight: 700;
    	color: #393d3e;
    }
    
    @media only screen and (max-width: 799px) {
    	#menu-primary li a:hover, #menu-secondary li a:hover {
    		background: #a4d7db;
    		color: #ffffff;
    
    	}
    	#menu-primary li a, #menu-secondary li a {
    		background: #ff80df;
    		border-color: #ff80df;
    	}
    }
    
    @media only screen and (min-width: 800px) {
    	#menu-primary ul ul li a:hover, #menu-secondary ul ul li a:hover {
    		background: #ff80df;
    		color: #ffffff;
    	}
    	#menu-primary li li a, #menu-secondary li li a {
    		background: #a4d7db;
    		border-color: #a4d7db;
    	}
    	.menu li > ul::before {
    		border-bottom-color: #a4d7db;
    	}
    	.ltr .menu li li > ul::before {
    		border-right-color: #a4d7db;
    	}
    }

    Thanks in advance for your help.

    Friendly regard,
    Jelmer

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘No underlines menu on mouseover’ is closed to new replies.