PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Change border fields

  1. How do I change the border color of the text fields? I put this code below, but two area donĀ“t change. can help me?

    .gform_wrapper input[type=text],
    .gform_wrapper input[type=url],
    .gform_wrapper input[type=email],
    .gform_wrapper input[type=tel],
    .gform_wrapper input[type=number],
    .gform_wrapper input[type=password] {
    border: 1px solid #ccc
    }

    My link is: http://julionunes.com/contato/
    thanks,

    Posted 10 years ago on Sunday May 5, 2013 | Permalink
  2. Richard Vav
    Administrator

    It looks like you have placed the above style in the readyclass.css file contained in the plugin directory, you should not modify the plugin files as any modifications will be lost during plugin updates. The correct place to put your custom CSS is towards the bottom of your own themes style.css file.

    The reason your rule isn't affecting the last two fields is becuase they are not text inputs they are infact textarea's, so you need to add an extra selector to your rule like so

    .gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password], .gform_wrapper textarea {
        border: 1px solid #ccc;
    }

    Regards,
    Richard
    --
    Just another member of the community helping out where I can

    Posted 10 years ago on Sunday May 5, 2013 | Permalink
  3. thank you for your help Richard
    It all worked now.

    Posted 10 years ago on Sunday May 5, 2013 | Permalink
  4. Richard Vav
    Administrator

    You're welcome and thanks for the update.

    Posted 10 years ago on Sunday May 5, 2013 | Permalink