In modular, the text of buttons colors is automatically sets to black or white based on the button’s background colour.
We are happy with the white option but wish to change the black option to a grey colour HTML# 636466 in line with the rest of our text colour.
Is there any way to do this?
button.btn:not(.btn-outline) { color: #fff; background-color: #1D1F22; border-color: #1D1F22; }
Thanks very much for your response. Could you please let me know where I should add this code?
You can add in CSS, theme editor
Hi, thanks for your help. When I add this code and hover over the text it turns to our desired grey colour but when you’re not hovering the text is still showing as black and the outline of the button is still black.
Is there anything I’m missing?