• Resolved nicolet301

    (@nicolet301)


    Hello,

    I hope that all is well.

    I have embedded a WPForms contact form on my website and it looks great. But the ‘Comment or Message’ field label is larger than the others on a tablet.

    I want to add custom CSS to fix this, but I can’t tell where to put the code just for this label. How can I fix this? What should I do?

    (I have attached a screenshot to show the problem that I see)

    Thank you so much for your time and consideration. Have a safe and lovely weekend!

    Kind regards always,
    Nicole

    • This topic was modified 10 months, 2 weeks ago by nicolet301.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @nicolet301,

    Thanks for reaching out!

    Please know that I was unable to see your form on https://bonjourfriends.net/stay-in-touch/.

    But to adjust the ‘Comment or Message’ field only on a tablet, you could use a CSS snippet like this:

    @media (min-width: 768px) and (max-width: 1024px) {
      .wpforms-form .wpforms-field.wpforms-field-textarea textarea {
          width: 60% !important;
        }
    }

    For more CSS snippets to style specific fields in your forms, please refer to our guide about customizing the style of individual form fields.

    And in case it helps, here’s a tutorial on how to add custom CSS like this to your site.

    Hope this helps!

    Thread Starter nicolet301

    (@nicolet301)

    Hello Raiden,

    I hope that all is well.

    Thank you so much for your response; I appreciate it!

    I’m sorry! I had the site in maintenance mode while I tried to fix the problem with my contact form. The site is up now and ready for your review.

    I also appreciate the code snippet, but it changes the width of the text area for comments or message. May I please have help to change the font size for the comments or message label?

    Thank you again for all your time, consideration, and help with this!

    Please have a lovely evening!

    Kind regards always,
    Nicole

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @nicolet301,

    I’m sorry for my confusion here.

    To change the font size for the comments or message label, you can use the code snippet available here.

    In case it does not work for you, please add the !important tag after each property in the code snippet. Something like this:

    .wpforms-form .wpforms-field.wpforms-field-textarea .wpforms-field-label {
        display: block !important;
        font-weight: 700 !important;
        font-size: 16px !important;
        float: none !important;
        line-height: 1.3 !important;
        margin: 0 0 4px 0 !important;
        padding: 0 !important;
    }

    I hope this helps!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @nicolet301,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘message label larger than others- tablet only’ is closed to new replies.