• Resolved mica123

    (@mica123)


    Here is my other question:
    I have added another field – attachment type. Normally my fields have borders, but the attachment field has no border. All the other input fields on my contact form are based on my theme’s style. I could possibly style the attachment field myself. This is not really a problem – but I would have to do this on my all other forms. So I was wondering if this is the only way to do this?
    Thanks.

    https://www.ads-software.com/plugins/si-contact-form/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi mica123, have a read through this post and see if that helps you.

    Kind regards

    Thread Starter mica123

    (@mica123)

    Many thanks for this.
    I did go through all the information, but it does seem that nothing applies to fields of the attachment type. So I do have to style each attachment field individually in my own CSS for every contact form I would be creating.
    Actually, in my own CSS I would have to put something like this;
    input[type=”file”] for styling this type of field which would work for all the contact forms, but I am not sure if this would work across all browsers.

    This is a browser limitation, see this help page
    https://www.fastsecurecontactform.com/file-attachment-field-style

    Thread Starter mica123

    (@mica123)

    Thank you very much.
    Does this mean that it would be best not to style the attachment field at all? Supposing I my attachment field’s ID is input#fscf_field1_4,
    I thought I could give borders to it as follows:
    {
    border-color: #xxxxxx #xxxxxx #xxxxxx;
    border-radius: 2px;
    border-style: solid;
    border-width: 1px;
    padding: 0;
    }
    Would this still be unsafe to use?
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Attachment field border’ is closed to new replies.