add hover state to navigation menu

This commit is contained in:
Aadil Ayub 2024-06-15 11:07:00 +05:00
parent 10946cd926
commit 030f7a358d

View File

@ -29,6 +29,16 @@ ul.wp-block-navigation.mobile-header-nav li {
margin-block: .5em;
}
@media (min-width: 1080px) {
.main-header-nav .wp-block-navigation-item:hover,
.main-header-nav .wp-block-navigation-item:focus {
background: var(--wp--preset--color--black);
color: var(--wp--preset--color--white);
border-color: var(--wp--preset--color--black);
cursor: pointer;
}
}
/* style footer on mobile */
@media (min-width: 1080px) {
.wp-block-column.footer-gradient-column {