0

So I know the question is going to sound really weird as to why I want to do this, so here is a quick synopsis:

I am working with wordpress, writing my own child theme. There is some style sheet that has changed all of the <a></a> tags to be white, to blend into the background... which is also white. I don't know why its like this, which style sheet is doing it (*Edit: it is a Divi style sheet), or what plugin is doing it for that matter. To me I don't really care about answering those questions. In the end, all I need to know is -

"How do I remove that style placed on all <a></a>, that have varying colors, :hover, :active, etc."?

An extra note is that I do have access to the developer console, which means I can see every class, element, id, etc, that is having the attribute color: white; being applied to it, if that is helpful at all.

I am willing to take a wordpress, css, or even javascript answer. If any of that is possible.

4

1 回答 1

1

获取您需要更改其颜色的链接,然后为每个链接执行以下操作:

element.style.color = "#000";

:hover参见https://stackoverflow.com/a/11371562/1371131。_

于 2020-10-02T03:51:54.320 回答