Forum Discussion

gayatrishahane's avatar
gayatrishahane
Cloud Apps
10-09-2022
Solved

How to remove the `i` icon from the dashboard widgets completely?

How to remove the `i` icon from the dashboard completely?

 

I am currently using the following script, but it only makes it invisible. When you hover over that location you can still see the hover state of the `i` icon.

dashboard.on('refreshstart', function() {

$(document.getElementsByClassName('btn__icon app-icon app-icon--general-info-circle')).hide()

})

 

 

  • I found 

     $(document.getElementsByClassName('widget-toolbar-btn btn btn--icon btn--dark btn--no-background')).hide()

    that the above script  removed the `i` completely

2 Replies

Replies have been turned off for this discussion
  • Harry's avatar
    Harry
    Cloud Apps

    Hello gayatrishahane ,

    Hope below script will work for you

    dashboard.on('refreshstart', function() {
    
      $(document.getElementsByClassName('btn__icon app-icon app-icon--general-info-circle')).closest('.widget-toolbar-btn').hide()
    
    })

     

    Always here to help,
    Harry from QBeeQ
    [email protected]
    www.qbeeq.pl

  • I found 

     $(document.getElementsByClassName('widget-toolbar-btn btn btn--icon btn--dark btn--no-background')).hide()

    that the above script  removed the `i` completely