WordPress.org

Ready to get started?Download WordPress

Forums

Hemingway
[resolved] css for CF7 is limited (2 posts)

  1. yesmaybe
    Member
    Posted 5 months ago #

    Hi,

    I use the common plugin contact-form-7 and generated some extra tags following the settings.

    It comes up with the following code:

    <p>Contact Phone Number<br>
          <span class="wpcf7-form-control-wrap telephone"><input type="tel" name="telephone" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-tel wpcf7-validates-as-tel" aria-invalid="false"></span> </p>

    However, the css around line 2148 doesn't allow for these extra input types.

    On line 2151 I had to add the following so the tel input area matched existing styling.
    .content form input[type="tel"],

    This is something you may want to look at for future updates.
    Ta,
    Andy

  2. Anders Noren
    Member
    Theme Author

    Posted 5 months ago #

    Hi yesmaybe,

    I'll take a look at it for the next version. Thanks for reporting.

Reply

You must log in to post.

About this Theme

About this Topic