Home › Forums › Support › Adding a button to menu. Workaround? › Reply To: Adding a button to menu. Workaround?
September 22, 2016 at 10:13 am
#228678
Tom
Lead Developer
Lead Developer
Hi Andrew,
I think a better method would be to give a custom menu item a unique class: https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes
Then style it with CSS:
.main-navigation .my-custom-class a {
border: 1px solid red;
/* other CSS for your button */
}