I have a primary menu on my Wordpress site with links to other pages within that Wordpress site. However, the last menu option is a custom link that directs the user to an external site. That link works as expected however I am having problems styling it.
I have added the class 'custom-link' to to CSS Classes box for that Custom Link and then wrote the following in the 'Additional CSS' box.
.custom-link
{
padding:0px 5px 0px 5px;
background-color: #000;
color: white !important;
font-size: 40;
}
The padding and background color took effect. But the color and size of the link font are not responding to the css. I tried a number of things like adding 'li a' before the brackets but that did not work either.
I would be very grateful if I could be given some direction on this. Thanks in advance.