Tagged: autorespond, CONTACT FORM, enfold, shortcode
-
AuthorPosts
-
January 14, 2021 at 11:47 pm #1272540
Hello,
I’m new to the Enfold theme and want to add a newsletter signup.form.
My autorepond mailing system generates the following code:
<form action=”https://www.e-act.nl/ah/action” method=”POST” accept-charset=”UTF-8″><input type=”hidden” name=”admin_id” value=”<number>”/><input type=”hidden” name=”trigger_code” value=”SUBSCR_<number>”/><input type=”hidden” name=”confirm” value=”false”/>Firstname <input type=”text” id=”relation_firstName” name=”relation_firstName”/><br/>E-mailadres <input type=”text” id=”relation_email” name=”relation_email”/><br/><input type=”submit” value=”submit”/></form>
How can I tranform this code to use it in the Enfold Contact form? Using Shortcode?
Thank you!
January 15, 2021 at 11:32 am #1272664Hi PIT,
There’s no option for that.
I would suggest using a code block, then give us the link to that page and we’ll try to give you a CSS code to make it look like the Enfold Contact Form.Best regards,
NikkoJanuary 15, 2021 at 7:10 pm #1272807Hi Nikko,
Thank you for your message. You can view the page in private content:
January 18, 2021 at 3:10 am #1273183Hi PIT,
Can you try adding this CSS code in Quick CSS, located in Enfold > General Styling:
#top .arformSUBSCR_1610900658304 { background-color: transparent; } #top .arformSUBSCR_1610900658304 label { color: #666666; font-size: 13px; display: block; float: none; margin-bottom: 7px; line-height: 1.7; } #top .arformSUBSCR_1610900658304 .form-control { border: 1px solid #e1e1e1; padding: 13px; height: auto; line-height: normal; background-color: #fcfcfc !important; border-radius: 2px; font-size: 13px; }
Best regards,
NikkoJanuary 19, 2021 at 11:42 pm #1273851Hi Nico,
I added this CSS code to the Enfold General Styling but I don’t see any changes (yes, I did a page refresh).
Do I have to do something else?January 20, 2021 at 4:27 am #1273877Hi PIT,
If you have a plugin that has some caching mechanism, please flush it.
Also, try to clear the browser cache.
If both does not work, please post us your login credentials (in the “private data” field), so we can take a look at your backend.- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( to be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoJanuary 20, 2021 at 11:10 pm #1274239Hi Nikko,
It doesn’t work, even incognito. I tried the code(s) at https://liveweave.com/ to test the script live and you can notice it doesn’t work.
Many thanks,
PacoJanuary 21, 2021 at 11:45 am #1274328Hi PIT,
I see, can you also post the password in private content?
Best regards,
NikkoJanuary 21, 2021 at 1:46 pm #1274370This reply has been marked as private.January 21, 2021 at 4:13 pm #1274422Hi PIT,
Thanks, however, I don’t have access to that email, it’s just our SOP to advise using that email when creating temporary access for us.
I checked on your site again however the CSS code still isn’t reflected.
Can you try to flush out the cache and deactivate caching temporarily and check?
If that doesn’t help then go to Enfold > Performance > CSS file merging and compression set to Disable – no CSS file merging and compressionBest regards,
NikkoJanuary 21, 2021 at 6:07 pm #1274489Hi Nikko,
There’s no cache plugin installed or active at my hosting company.
Just tried the performace setting and also at the bottom option to clear CSS/java but without any effect.January 22, 2021 at 3:45 pm #1274771Hi PIT,
Thanks, I have added this CSS code in your site:
#top .ar5 { width: 100% !important; } #top .ar5 .arformSUBSCR_1610900658304 { background-color: transparent; } #top .ar5 form { padding: 0 !important; margin: -15px 0 0 !important; } #top .ar5 form > .form-group:nth-child(5), #top .ar5 form > .form-group:nth-child(6) { float: left; width: 49.5%; } #top .ar5 form > .form-group:nth-child(6) { margin-left: 1%; } #top .ar5 form > p:nth-child(7) { clear: both; } #top .ar5 label { color: #666666; font-size: 13px; display: block; float: none; margin-bottom: 7px; line-height: 1.7; } #top .ar5 .form-control { border: 1px solid #e1e1e1; padding: 13px; height: auto; line-height: normal; background-color: #fcfcfc !important; border-radius: 2px; font-size: 13px; } #top .ar5 .form-group .text-center { text-align: left; } #top .ar5 .form-group .btn { width: auto !important; margin: 0; padding: 16px 20px; border-radius: 2px; font-size: 12px !important; min-width: 142px; outline: none; }
Best regards,
NikkoJanuary 22, 2021 at 11:38 pm #1274871Hi Nikko,
That’s really cool, thank you very much!!
January 23, 2021 at 6:25 am #1274905Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan ShannonJanuary 23, 2021 at 12:42 pm #1274944Hi Jordan,
This topic can be closed, thank you all!
January 23, 2021 at 12:46 pm #1274948Hi PIT,
We’re glad that we could help :)
Thanks for using Enfold and have a great weekend!Best regards,
Nikko -
AuthorPosts
- The topic ‘Custom code Contact Form’ is closed to new replies.