Change color of contact form and comment buttons

  • Posted in : TheBlogger
  • Sofia
    Participant

    Hi, I have been able to change the color of my “own” buttons with some code I found here in the forum. But, for some reason this does not apply to the generic (pre-made) buttons in the contact form page (“submit”) as well as for “post comment” buttons. They are black. Can you please help?

    serkan
    Moderator

    Hi,
    Could you please provide me your wp admin details via our private content box below?
    Thanks

    Sofia
    Participant

    Yes, sure. Already sent in to you in my other post.

    serkan
    Moderator

    Hi, You can use this custom css code;

    .button.is-primary { color: #000000; }

    Thanks

    Sofia
    Participant

    Hi Serkan,

    Thanks, I see you were able to change the color when hoovering /clicking the button!

    Still, before clicking on the buttons (“submit” in contact form and “post comment” in blog section) they are still black. Can I change this into a custom cooler as well?

    serkan
    Moderator

    Hi,
    You can use this custom css code;

    button.submit { color: #ccc !important; }

    Thanks

    Sofia
    Participant

    Hi Serkan, thanks, but it is not working. The code is doing nothing.

    serkan
    Moderator

    Hi, before i gave you the code, i tested it. Please check your css box. There were many css codes before I added some. You may have forgotten to close the brace.
    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register