Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1104390

    Dear Enfold-experts,

    I just added a support contact form on my enfold theme.

    The problem is that is does not look like the forms here:

    I would like the following:
    – In my version I have borders around the different text fields – I would like it like in the above link
    – There is too much padding under the submit-button
    – There does not come a red border when it validates the form

    When I try to add some of the CSS modifications on my quick css it does not affect anything:

    Here is how I inserted the form:

    [av_contact (Email address hidden if logged out) ' title='How can we help you?' on_send='' sent='Your message has been sent! We will get back to you shortly.' link='manually,http://' subject='Support Request' autorespond='' captcha='' form_align='' color='' custom_class='' admin_preview_bg='' av_uid='av-hroj83']
    [av_contact_field label='Name' type='text' options='' check='is_empty' width='' multi_select='' av_contact_preselect='' av_uid='av-hkvmv7'][/av_contact_field]
    [av_contact_field label='E-Mail' type='text' options='' check='is_email' width='' multi_select='' av_contact_preselect='' av_uid='av-hhfwe3'][/av_contact_field]
    [av_contact_field label='Message' type='textarea' check='is_empty' options='' multi_select='' av_contact_preselect='' width='' av_uid='av-h5d55n'][/av_contact_field]
    [/av_contact]

    I tried to change to layout by:

    .av-contact-form-title fieldset h3 {
    font-size: 24px;
    text-transform: uppercase;
    }

    or
    /*—————————————-
    // CSS – Contact form label icons
    //————————————–*/
    #top .avia_ajax_form.cf-label-icons label{
    padding-left: 20px;
    }
    #top .avia_ajax_form.cf-label-icons label::before {
    position: absolute;
    left:0;
    font-family: ‘entypo-fontello’;
    }
    #top .avia_ajax_form.cf-label-icons fieldset p:nth-child(2) label:before{
    content:”e80a”;
    }
    #top .avia_ajax_form.cf-label-icons fieldset p:nth-child(3) label:before{
    content:”e805″;
    }
    #top .avia_ajax_form.cf-label-icons fieldset p:nth-child(4) label:before{
    content:”e826″;
    }
    #top .avia_ajax_form.cf-label-icons fieldset p:nth-child(5) label:before{
    content:”e83b”;
    }
    /* Input field do not support pseudo elements so we target the last p in the fieldset which is usually the submit button */
    #top .avia_ajax_form.cf-label-icons fieldset p:last-child:before{
    content:”e844″;
    color:#FFF;
    font-family: ‘entypo-fontello’;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    }

    But nothing changes

    I hope you can help.

    • This topic was modified 6 years, 5 months ago by ksnoo04.
    #1105608

    Hey ksnoo04,

    Thank you for using Enfold.

    You need to add the “cf-label-icons” as the value of the custom_class parameter.

    
    [av_contact email=' (Email address hidden if logged out) ' title='How can we help you?' on_send='' sent='Your message has been sent! We will get back to you shortly.' link='manually,http://' subject='Support Request' autorespond='' captcha='' form_align='' color='' custom_class='' admin_preview_bg='' av_uid='av-hroj83']
    

    .. replace it with:

    
    [av_contact email=' (Email address hidden if logged out) ' title='How can we help you?' on_send='' sent='Your message has been sent! We will get back to you shortly.' link='manually,http://' subject='Support Request' autorespond='' captcha='' form_align='' color='' custom_class='cf-label-icons' admin_preview_bg='' av_uid='av-hroj83']
    

    Best regards,
    Ismael

    #1105615

    Hi
    Thanks.. I added the class, but it does not add the icons – but instead something like E800 – do I need to activate some icons?

    #1105617

    What about the two other problems:
    – There is too much padding under the submit-button
    – There does not come a red border when it validates the form

    #1105738

    Hi,

    The link to you site above did not work for me. Can you please check?

    Best regards,
    Jordan Shannon

    #1106066

    Sorry just updated the link.

    #1106556

    Hi,

    Thank you for the update.

    Where did you add the contact form shortcode? We can’t find it anywhere in the site.

    Did you switch to CF7?

    Best regards,
    Ismael

    #1107483
    This reply has been marked as private.
    #1108788

    Hi,

    I see. Make sure that the icon character code exists and that it starts with the backslash without the “u” letter.

    Example:

    #top .avia_ajax_form.cf-label-icons fieldset p:nth-child(2) label:before {
        content: '\e800';
        font-family: 'entypo-fontello';
    }

    This section might help: https://kriesi.at/documentation/enfold/icon/#how-to-find-the-icon-unicode

    Best regards,
    Ismael

    #1109032

    Thanks…. Last question.

    How to I remove the borders and make it like this?

    Form

    #1109254

    Hi ksnoo04,

    Can you please upload the screenshot to a service like https://imgur.com/upload and give us the link here? We cannot see the one you attached above.

    Best regards,
    Victoria

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