New Landing How can we help? Themeforest Theme Support Dante sf_button onClick Event

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Dante
  • #91435
    redehost-mkt
    Member
    Post count: 10

    Hi.

    I’m trying to use onClick event on sf_button.
    I’m not sure about using extraclass element cause I have many buttons in each page.
    As I asked before, is it possible using functions.php?

    Tks.

    #91582
    Kyle – SUPPORT
    Moderator
    Post count: 35880
    #91731
    redehost-mkt
    Member
    Post count: 10

    Hi Kyle.

    I tried everything that you mentioned at this thread and I’d like to use something that uses functions.php cause it sounds a better solution.

    Tks.

    #91746
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok not sure if that will be possible, however I will forward this to Mohammad

    – Kyle

    #92365
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Just add some javascript to Theme Options > Custom CSS/JS?

    jQuery('.sf-button').on('click', function(e) {
    
    // your code here
    
    // default
    return e;
    
    });

    – Ed

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register