Hi, @denyskozhushko
Is this what you mean?
.redtext a {
color: red !important;
}
And always remember to refresh browser cache after change css code. You can do it by hold Ctrl+F5 if you’re using Windows or by hold Cmd-Shift-R or Shift-Reload if you’re using Mac.
Hope it helps.
where to put it right?
i tried pasting in menu settings, in css class, before you helped me, but nothing helped. I need to change the color in just one menu item “special propositions” (спеціальні пропозиції)
There are several ways to add custom css on WordPress. You can read it here: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/
Hope it helps.
@saadahsan
thanks for the help, but it’s not exactly what I need… I only get to change the color of the entire menu, and not a single link, as I need. If you look at the page code, you can change the color of its top menu (I know how to do this)
.mobile-header__menu>nav>ul>li>a {
text-decoration: none;
font-size: .875rem;
line-height: 1.714;
text-transform: uppercase;
color: #000000;
font-weight: 600;
You can target a single link in the menu by adding a custom class name to the link, like this:
https://sevenspark.com/how-to/how-to-add-a-custom-class-to-a-wordpress-menu-item
Once you have done this, add your custom css to the Customizer –> Additional CSS:
.CUSTOM-NAME .mobile-header__menu>nav>ul>li>a {
text-decoration: none;
font-size: .875rem;
line-height: 1.714;
text-transform: uppercase;
color: #000000;
font-weight: 600;
}