Archived topic
Creating a radius on main nav
3 replies · Started by Louis on May 24, 2018
Hi,
Modifying the Catalyst site. I put a background color on the main nav in the header and would like to create a radius to make the menu items appear as rounded rectangle buttons. Perhaps add a border as well.
I've been using the Web Developer tools in firefox and the source and looking for clues in all the css files, but, no matter what class or id I try to get the result, they all fail.
Thanks for any assistance.
Lou
Hi Louis,
first of you need to go to the Customiser > Colors > Primary Navigation and set the primary menu and sub menu backgrounds to transparent.
Then use this CSS:
.main-navigation .main-nav ul li a {
background-color: rgba(3,66,78,0.82);
border-radius: 10px;
margin: 5px;
}
Thanks David. Perfect.
Enjoy your weekend.
Lou
You're welcome Louis