Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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!
    Regards

    #1214507

    Hey 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,
    Ismael

    #1214644

    Hey 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

    #1216030

    Hi,

    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,
    Ismael

    #1216861

    Hi Ismael!

    Thanks for you help – not its working fine!

    Regards
    topnetat

    #1216862

    now its working fine*

    #1216863

    You can close the ticket

    #1217241

    Hi,

    Great, I’m glad that you got things working and thanks for the update. I’ll go ahead and close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Enfold Newsletter Tracking Mailchimp’ is closed to new replies.