Comments 2alexeyt777 started the conversationFebruary 28, 2017 at 3:59amI need to attach js code on button click in CTA with two buttons. On standart buttons I can define following parameters which are absent on CTA buttons:Extra class name - Style particular content element differently - add a class name and refer to it in custom CSS. Advanced on click action - YesI nsert inline onclick javascript action. On click code - Enter onclick action code.Can you add these parameters in CTA buttons and other button elements? 7,092Oliver repliedFebruary 28, 2017 at 2:43pmHI!Ok, we'll add custom field "class" in the next theme updates.Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver 2alexeyt777 repliedFebruary 28, 2017 at 2:49pmThanks! Sign in to reply ...
I need to attach js code on button click in CTA with two buttons.
On standart buttons I can define following parameters which are absent on CTA buttons:
Extra class name - Style particular content element differently - add a class name and refer to it in custom CSS.
Advanced on click action - YesI nsert inline onclick javascript action.
On click code - Enter onclick action code.
Can you add these parameters in CTA buttons and other button elements?
HI!
Ok, we'll add custom field "class" in the next theme updates.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Thanks!