Social Link Icons not changing in Dark Mode
-
Currently testing in a local environment, when I activate Dark Mode on the site within Word Press the Social Links (wp-social-link) icons change color with the rest of the page. But when I run it through a Static Site Generator (Staatic), and run that site, the icons just stay black and do not change color.
I’ve tried to change this with CSS scripts, but do not have the knowledge to get it working. When I mess around with the inspector, I can get it working, by turning off the top element below, to force the Dark Mode onto the icons.
.has-foreground-color {
color: var(–wp–custom–color–foreground) !important;
}
.has-foreground-color {
color: var(–wp-dark-mode-text–wp–preset–color–foreground) !important;
}
- You must be logged in to reply to this topic.