Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #898606

    Hi,

    For this website I use Contact Form 7 in combination with the layout Avia short codes like for example:
    [av_one_fourth first]<label>Aanhef*[select* aanhef "Kies hier" "Dhr." "Mevr."]</label>[/av_one_fourth][av_three_fourth]<label> Naam*[text* naam]</label>[/av_three_fourth]
    This used to work flawless but recently I found out that it shows the actual code in the webpage and doesn’t style the forms anymore.
    Please have a look here: http://www.studijob.nl/ik-zoek-een-baan/inschrijven-als-uitzendkracht/

    I tried make a form from scratch but the problem persist. Any ideas on how to fix this? All plugins, themes and WP are up to date.

    Best regards,

    Steven

    #899029

    Hey Steven,

    Did you try to use the shortcode you are given by CF7 instead?

    Best regards,
    Rikard

    #899089

    Hi Rikard,

    The code as mentioned in my previous post, is the code I use in the CF editor. To display the form I use the shortcode in an avia text block. Something like: [contact-form-7 id=”193″ title=”Inschrijfformulier uitzendkracht”]

    Or do you mean something else?

    Regards,

    Steven

    #899484

    Hi Steven,

    Thanks for the feedback. Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #899631

    Hi Rikard,

    Here you go!

    Cheers,

    Steven

    #900254

    Hi,

    Thanks for that, I’m not sure why it’s displaying the shortcode like that. But maybe you could try to replace it with actual markup instead? For instance, the first shortcode:

    [av_one_fourth first]<label>Aanhef*[select* aanhef "Kies hier" "Dhr." "Mevr."]</label>[/av_one_fourth]

    Would be replaced by this:

    <div class="av_one_fourth first"><label>Aanhef*[select* aanhef "Kies hier" "Dhr." "Mevr."]</label></div>

    Best regards,
    Rikard

    • This reply was modified 6 years, 12 months ago by Rikard.
    #902126

    Hi Rikard,

    Thanks for you reply. With your solution, I got rid of the unwanted codes displayed. However, now the whole layout is a mess.
    As you can see in de code, most fields should be next to each other : 1/3 2/3,1/2 1/2 etc.
    It seems to me that CF 7 is not completely compatible with the latest version of Enfold, could that be the case? It just happend see.

    Best regards,

    Steven

    #903589

    Hi,

    No that is not the case, CF7 is compatible by dafault and it is not generating any code

    Best regards,
    Basilis

    #904896

    Hi,
    In the meantime I tried to make an completely new form and page. The problems stilll persist. Any help is much appreciated ;)

    Regards,

    Steven

    #905728

    Hi,

    Not sure why, but I checked your form and it has some html inside, which is also triggering the

    div .av_three_fourth
    element, which has padding, so everything goes below.
    I think if you remove the sidebar at that page, everything should show properly.

    Best regards,
    Basilis

    #906301

    Hi Basilis,

    I really have no clue why the issue with CF7 is is happening. It happens to occur on other websites as well. We didn’t change anything exept updating the theme and WP.

    #906809

    Hi,

    You should replace the shortcode with the actual column markup as Rikard suggested. Is this form working properly?

    
    <div class="av_one_fourth first"><label>Aanhef*[select* aanhef "Kies hier" "Dhr." "Mevr."]</label></div>
    <div class="av_three_fourth"><label> Naam*[text* naam]</label></div>
    <div class="av_one_half first"><label> Adres*[text* adres]</label></div>
    <div class="av_one_half"><label> Postcode*[text* postcode]</label></div>
    <div class="av_one_half first"><label> Woonplaats*[text* woonplaats]</label></div>
    <div class="av_one_half"><label> Telefoon[tel* telefoon minlength:10 maxlength:14]</label></div>
    <div class="av_one_half first"><label> E-mail*[email* email]</label></div>
    <div class="av_one_half"><label> Geboortedatum*[text* geboortedatum placeholder "dd-mm-jjjj"]</label></div>
    <div class="av_one_third first"><label> Nationaliteit*[text* nationaliteit]</label></div>
    <div class="av_two_third"><label> Opleiding*[text* opleiding]</label></div>
    <div class="av_one_third first"><label> Uren beschikbaar per week*[text* beschikbaarheid placeholder "minimaal 16 uur per week"]</label></div>
    <div class="av_two_third"><label> Functiewensen*[textarea functiewensen x2 ]</label></div>
    <label>Eventuele opmerking(en)[textarea opmerking x3]</label>
    <label>Upload je CV (.docx, .doc of .pdf. Max grootte 1 Mb) [file uploadcv limit:1mb filetypes:docx|doc|pdf]</label>
    [submit "Verzenden"]
    

    Best regards,
    Ismael

    #906860

    Hi Ismael,

    Thanks for you reply. With your (and Rikard’s) solution, I got rid of the unwanted codes displayed. However, as I mentioned earlier, now the whole layout is a mess.
    As you can see in de code, most fields should be next to each other : 1/3 2/3,1/2 1/2 etc.

    Regards,

    Steven

    #907591

    Hi,

    Using so much HTML to the page, yes it can make it a mess we are afraid…

    Best regards,
    Basilis

    #909234

    Hi guys,

    I ended up with this solution from 2015: https://kriesi.at/support/topic/styling-contact-form-7-as-enfold-contact-form/

    Regards,

    Steven

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘[SOLVED] Avia layout elements not working with Contact Form 7’ is closed to new replies.