WordPress.org

Forums

Contact Form 7
[resolved] Changing instructional text colour and centering (2 posts)

  1. DylandC
    Member
    Posted 1 year ago #

    Hi there,

    I've read and tried everything to change the colour of my contact form's instructional text to white, but to no avail. I got close, only to change the text colour in other sections of my site too.

    Please can someone take a look at dylanwriter.com and perhaps tell me how to do it (plus how to centre the form along with the SEND button)?

    Thing is, I don't want to change any style sheets in case of future updates. I'd prefer to use the custom css box of my child theme.

    Any assistance would be greatly appreciated!

    https://wordpress.org/plugins/contact-form-7/

  2. DylandC
    Member
    Posted 1 year ago #

    Not to worry. I got it right:

    form p {
    color: #fff;
    text-align:center
    }
    input[type="text"], input[type="password"], input[type="email"], textarea {
    margin-left: auto !important;
    margin-right: auto !important;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic