• Resolved giacomoimbriani

    (@giacomoimbriani)


    Hi everyone,

    I’m trying to delete the title when I hover over a checkbox. i have test with css:

    1st attempt

    .forminator-checkbox-box{
    title="";!important
    }

    2nd attempt

    title {
      display: none;!important
    }

    but they didn’t work. Can anyone tell me how can I fix it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @giacomoimbriani,

    I hope you are doing well today!

    Please elaborate your query a little bit more, as which title would you like to hide when you hover over the checkbox, are you referring to checkbox group label value?

    Please also share an export of your form with us, so that we can have a better understanding on this.

    You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    After exporting, please share the code using a service such as https://pastebin.com which is free to use.

    Please always make sure to use such service to share the code and don’t post the code here directly as it will most likely be unusable.

    Kind regards,
    Zafer

    Thread Starter giacomoimbriani

    (@giacomoimbriani)

    i want to hide this

    This is the export link copied to pastebin:
    https://pastebin.com/vVPxasS5

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @giacomoimbriani

    What you want to hide is a browser tooltip that is displayed and generated by the browser, based on the value of “title” attribute (in this case of a related “label” element).

    Hiding it is not a part of CSS specification and you would instead need to either use jQuery code to do this or instead you can get rid of the title attribute entirely by filtering HTML markup of the form on PHP level – before it gets renderer – for example like this:

    add_filter( 'forminator_field_multiple_markup', 'forminator_custom_multiple_markup', 10, 21 );
    function forminator_custom_multiple_markup( $html, $id ) { 
    
    	$result = preg_replace('/title="([^"]*)"/','',$html);
    	if ( $result ) { 
    		return $result;
    	}
    
    	return $html; 
    
    }

    You can add this code to your child-theme’s functions.php file if you are using child theme or you can instead add it as MU plugin:

    – create an empty file with a .php extension (e.g. forminator-filter-label-title.php)
    – put this as the first line of the file

    <?php

    – below this copy and paste shared code
    – save the file and upload it to the “/wp-content/mu-plugins” folder of your site’s WordPress installation on the server

    Kind regards,
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @giacomoimbriani ,
    
    We haven’t heard from you for several days now, so it looks like you no longer need our assistance.
    
    Feel free to re-open this ticket if needed.
    
    Kind regards
    Kasia

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

The topic ‘Disable title checkbox’ is closed to new replies.