Hi,
I used this great idea posted here to style my contact form 7 form: https://kriesi.at/support/topic/styling-contact-form-7-as-enfold-contact-form/
WOrked great, i just need to make the field name inline (show up in the field instead of above)
How is this achieved?
Hey kilimats,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
#top.page-id-1396 .avia_ajax_form .text_input,
#top.page-id-1396 .avia_ajax_form .select,
#top.page-id-1396 .avia_ajax_form .text_area {
margin-top: -20px;
z-index: -1!important;
position: relative;
width: 100%;
min-width: 80vw;
right: 0;
left: -20px;
top:-15px;
}
#top.page-id-1396 .avia_ajax_form .text_input,
#top.page-id-1396 .avia_ajax_form .select{
position:absolute;
}
.responsive .page-id-1396 .avia_ajax_form .form_element {
padding: 15px;
}
Best regards,
Vinay
looks great ! sorry we made some change since we posted and looks like our ID changed? how can i adapt your code now?
Hi,
Hey sorry just realised there are other ways to set this up.
It’s very easy to set up the inline lable or placeholder text please check
http://contactform7.com/faq/can-i-add-text-labels-to-input-fields/
http://contactform7.com/setting-placeholder-text/
Please google “contact form 7 inline label” to get more results.
Best regards,
Vinay
U rock thanks !