Settings icon

This topic contains 3 replies, has 2 voices, and was last updated by

 
Keymaster
1 year, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27784

    Participant

    Is it possible to configure the Settings icon to display the settings on hover?

    #27789

    Hi,

    I’m afraid that is not possible via settings. It is however possible via custom coding.

    Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!

    add_action('wp_footer', 'asp_open_settings_on_hover');
    function asp_open_settings_on_hover() {
    	?>
    	<script>
    	jQuery(function($){
    		$('.prosettings').on('hover', function() {
    			ASP.api(
    				$(this).closest('.asp_w').data('id'),
    				$(this).closest('.asp_w').data('instance'), 
    				'toggleSettings', 'show'
    			);
    		});
    	});
    	</script>
    	<?php
    }

    Please note that I cannot guarantee this is going to work in all cases correctly.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #27792

    Participant

    Thank you — that works for me.

    #27793
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.