-
AuthorPosts
-
May 27, 2019 at 3:30 am #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 formWhen 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.
May 31, 2019 at 7:26 am #1105608Hey 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,
IsmaelMay 31, 2019 at 8:09 am #1105615Hi
Thanks.. I added the class, but it does not add the icons – but instead something like E800 – do I need to activate some icons?May 31, 2019 at 8:09 am #1105617What 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 formMay 31, 2019 at 4:20 pm #1105738Hi,
The link to you site above did not work for me. Can you please check?
Best regards,
Jordan ShannonJune 1, 2019 at 12:58 pm #1106066Sorry just updated the link.
June 3, 2019 at 4:18 am #1106556Hi,
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,
IsmaelJune 5, 2019 at 11:28 am #1107483This reply has been marked as private.June 10, 2019 at 11:44 am #1108788Hi,
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,
IsmaelJune 11, 2019 at 8:09 am #1109032Thanks…. Last question.
How to I remove the borders and make it like this?
June 11, 2019 at 7:25 pm #1109254Hi 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 -
This topic was modified 6 years, 5 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
