-
AuthorPosts
-
May 14, 2020 at 9:00 am #1212869
Hello Enfold Team!
Would you please help me? I try to give the submit button from Mailchimp Signup a class. But how could i to that, because the Button is created from Mailchimp Element? In private content you see the code with questions.
Thanks for you answer!
RegardsMay 20, 2020 at 6:16 am #1214507Hey topnetat,
Thank you for the inquiry.
Have you tried adding a class name to the actual form element or the parent container instead of directly adding it to the button? Please provide a link to the actual page so that we can inspect it further.
Best regards,
IsmaelMay 20, 2020 at 1:13 pm #1214644Hey Ismael!
Thanks for you answer – yes we just try it – but is there any possibility to directly set the css class to the button? We really want to track this event better. You can see the Link in private content.
Kind regards
May 25, 2020 at 8:57 am #1216030Hi,
You don’t really need to apply the class name to the actual button as long as you’re using the proper selector. It’s possible, but you may have to create a custom jQuery script and use the addClass function.
// https://www.w3schools.com/jquery/jquery_css_classes.asp
You can also edit the button markup directly in the wp-content\themes\enfold\framework\php\class-form-generator.php file > button function, around line 465:
$this->button_html .= '<input type="submit" value="' . $submit_label . '" class="button" ' . $this->submit_attr . ' data-sending-label="' . __( 'Sending', 'avia_framework' ) . '"/>';Best regards,
IsmaelMay 27, 2020 at 9:46 am #1216861Hi Ismael!
Thanks for you help – not its working fine!
Regards
topnetatMay 27, 2020 at 9:46 am #1216862now its working fine*
May 27, 2020 at 9:46 am #1216863You can close the ticket
May 28, 2020 at 5:10 am #1217241 -
AuthorPosts
- The topic ‘Enfold Newsletter Tracking Mailchimp’ is closed to new replies.
