badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Input field size being ignored

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28531
    info110
    Participant

    If I try and set the size of a form input field or textarea size, whatever I enter is being ignored.

    I’m guessing this is being caused by something that you have in CSS.

    Can you please tell me how to fix this.

    #28534
    info110
    Participant

    I found the problem. In css you have width:100%

    However, if I remove it, then I have problems with smaller screen sizes.

    I guess I have to control the size of the area the field is in.

    input[type=”text”],
    input[type=”email”],
    input[type=”search”],
    input[type=”password”],
    input[type=”tel”],
    input[type=”url”],
    input[type=”date”],
    textarea {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    margin: 0 0 30px;
    background-color: #f9f9f9;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    }

    #28554

    Yes you have to edit that CSS code to set the size of a form input field and textarea.
    Please edit it via Custom CSS option so that your CSS code will not be lost each and every time you update the theme.

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.