Despite my best efforts, I am unable to override the !important rule set by the developer on my template. I am attempting to style a specific element in the top menu of the website located at . Although I can achieve the desired style changes using the console on the client side, updating my custom.css code does not reflect any modifications when I reload the page.
The code snippet I am working with is as follows:
<li id="menu-item-1590" class="bp-menu bp-login-nav menu-item menu-item-type-custom menu-item-object-custom menu-item-1591"><a href="http://akecheta.com/wp-login.php?action=login&redirect_to=http%3A%2F%2Fakecheta.com%2Fmembers%2Fadministrador%2F&_wpnonce=6e8d66da25"><span>Log Out</span></a></li>
The CSS rule causing frustration reads as follows:
.site-nav > ul li a {
color: #000000 !important;
}
Various attempts have been made to override it, such as:
.site-nav.bp-menu.bp-login-nav > ul > li + li {
color: #ff000 !important;
font-weight: 900;
}
Additionally,
.bp-menu.bp-login-nav a {
color: rgb(249, 24, 24) !important;
font-weight: bold;
}
As well as
li#menu-item-1590 a {
color: rgb(249, 24, 24) !important;
font-weight: bold;
}
However, all these efforts seem ineffective in overriding the original rule. The classes .bp-menu and .bp-login-nav are utilized by a plugin with a link in the menu. It is suspected that JavaScript may also play a role in this, although the specifics remain unclear.
UPDATE
Correction: It should be #menu-item-1590, not #menu-item-1591 Furthermore, it is .bp-login-nav and not .bp-logout-nav
Please note that the previous solutions are tailored for logged-in users exclusively. My apologies for any confusion caused.