I added a “file-block” with the new block editor (Gutenberg, WP 5.03). It shows a download-button, black background, white text. I tried to adapt the css characteristics of this button:
.wp-block-file__button:link, .wp-block-file__button:visited, .wp-block-file__button:active {
border: 1px solid #628907;
border-radius: 5px;
padding: 5px 10px;
background-color: #fff;
color: #628907;
font-size: 15px;
}
.wp-block-file__button:hover {
border: 1px solid #90CB0D;
background-color: #90CB0D;
}
It works, except one: color: #628907; does not work. The text remains white, whatever I choose as color value.
How can I override the standard text color (white) of this button ?
Thanks !
Frans van Ittersum