This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Settings icon

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

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

    #27789
    Ernest MarcinkoErnest Marcinko
    Keymaster

    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.

    #27792
    ColeValleyGirl05ColeValleyGirl05
    Participant

    Thank you — that works for me.

    #27793
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.