How to change X close in hustle?

Can I change the blue "X" to close out popups? Can I change color and make is say "Continue to site >"?

We tried some jquery/css solutions but no results.

Also wen we try add css:
.i-close::after { content: "Continue to site >";}
code works but add some strange signs.

Thank you

  • Predrag Dubajic

    Hey Paul,

    Hope you're doing well :slight_smile:

    Below is a small code snipped with jquery to replace the text and also some styling that you can change in order to adjust font size and color.
    You can place this code in your child theme functions.php file or as a mu-plugin:

    function change_text_hustle_close() { ?>
    	<script type="text/javascript">
    		jQuery( document ).ready(function() {
    		    jQuery('.inc-opt-close-btn').text('Continue to site >');
    	<style type="text/css">
    		body .inc_optin {
    		    width: 200px;
    		    font-size: 15px;
    		    color: #fff;
    <?php }
    add_action( 'wp_footer', 'change_text_hustle_close');

    Let us know if that's what you wanted to do.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.