As a novice developer, I've been tasked with creating a WordPress site using a child theme customization that involves PHP, CSS, and JS.
The current issue at hand is that my classes are not being recognized by VS Code for some unknown reason, even though they were working perfectly fine before.
You can easily spot the problem as certain classes are displayed in white instead of orange.
.wp-block-button a:hover {
background: linear-gradient(#7864f4, #00aeef);
color: #fff;
border-color: linear-gradient(#7864f4, #00aeef;
}
.wp-block-button a:hover:before {
height: 200%;
}
/* end block button*/
/* menu hover */
.nav li:hover {
color: #00aeef;
}
.navbar-nav li:hover {
color: #00aeef;
}
If anyone has a solution or workaround for this issue, it would be highly appreciated. Thank you!