• Resolved shagdirty

    (@shagdirty)


    I think the answer to my question is “no”, but is there a way to have a custom close button on the popup? Looks like the only choices are the three in the dropdown in advanced settings (white or black circles basically). It would be nice to either A) have an option to add a custom button or B) (even better for me) wrap that close button img tag inside of a div or span tag so that it can be styles easily with css. Should be an easy fix and would give developers an easy way to style the button however they like.

    thanks

    https://ww.wp.xz.cn/plugins/itro-popup/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ITRO Team

    (@itro)

    Hello,
    sorry for late reply and thank you for your suggestion. We are now working on it and we think to release the new version with this new features (both of them) in 2-3 days.

    We’ll keep you updated on this thread.

    Best regards

    Plugin Author ITRO Team

    (@itro)

    With the version 5.0 you can customize your close cross adding avery image you would like to show. So you can just use the 3 standard crosses or your custom image.
    To edit it with the css you can use the image ID #close_cross

    We would like to get a feedback from you! 🙂

    Needed to customize Enter and Leave buttons when switching to different languages, but I’m using Polylang and not WPML anymore.

    Just so if anyone finds it useful i’ll post it here:


    // itro popup i18n fix
    function steve_front_end_function() {
    if ( !is_admin() ) {
    if (function_exists('itro_update_option')) {
    $lang = pll_current_language();
    if ($lang == 'de') {
    itro_update_option( 'enter_button_text', 'Oh jah!!!' );
    }
    else {
    itro_update_option( 'enter_button_text', 'Right away sir!' );
    }
    }
    }
    }
    add_action( 'wp_loaded', 'steve_front_end_function');

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Customizing Close button?’ is closed to new replies.