Highlight an item in the main navigation by turning it into a button using a class. Add a class to the menu item in the appearance>menu section. You will need to click on screen options and check the CSS classes option to see it below.

.menu-button a {
-moz-osx-font-smoothing: grayscale;
background: #00a79d none repeat scroll 0 0;
border: 2px solid;
border-radius: 4px;
color: #ffffff !important;
cursor: pointer;
line-height: 1.7em;
margin: 4px auto;
padding: 0 8px !important;
transition: all 0.2s ease 0s;
}
.menu-button a:hover{
background-color:#007D73;
}

Comments

comments

Divi Freebies

Do you want some Divi FREEBIES?

Join our mailing list to receive the latest news, reviews, examples and Divi Theme FREEBIES.

You have Successfully Subscribed!

Pin It on Pinterest