.sp-megamenu-parent > li > a :hover { background-color: #007bff; /* Change to blue */ Color: #ffffff; /* Change text to white */ }