Title: One small addition &#8211; table rows hover
Last modified: October 1, 2016

---

# One small addition – table rows hover

 *  Resolved [Stagger Lee](https://wordpress.org/support/users/stagger-lee/)
 * (@stagger-lee)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/one-small-addition-table-rows-hover/)
 * Just to speed up boring and time demanding work of excluding folders and files
   from backup. And to reduce risks some important folder/file is excluded by mistake,
   or included when not needed.
 * Maybe you can add it to native code.
    Hover over table rows to see directly what
   file/folder one is excluding. (I added line for MainWP too.)
 *     ```
       add_action('admin_head', 'my_custom_backend_css');
       function my_custom_backend_css() {
         echo '<style>
       #mainwp_backupwp_excluded_content tr:hover,
       .hmbkp-exclude-settings tr:hover {background-color: #f2dede !important;}
         </style>';
       }
       ```
   

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

 *  Plugin Contributor [Katrina “Kat” Moody](https://wordpress.org/support/users/katmoody/)
 * (@katmoody)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/one-small-addition-table-rows-hover/#post-8329476)
 * Hey there [@stagger-lee](https://wordpress.org/support/users/stagger-lee/)
 * Thanks for contributing this! I tried it on my own test site and it really did
   make it easier to visualize the exclusions I was making!
 * I would only consider changing one thing in your function, just to be picky and
   adhere to WordPress coding standards … adding the space before and after the 
   enclosed add_action … like so:
 *     ```
       add_action( 'admin_head', 'my_custom_backend_css' );
           function my_custom_backend_css() {
               echo '<style> #mainwp_backupwp_excluded_content tr:hover, .hmbkp-exclude-settings tr:hover {background-color: #f2dede !important;} </style>';
           }
       ```
   
 * I’m keeping it in my test site! Thanks again!
 * Kat
 *  Thread Starter [Stagger Lee](https://wordpress.org/support/users/stagger-lee/)
 * (@stagger-lee)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/one-small-addition-table-rows-hover/#post-8329779)
 * You see. I knew it is done this way, but had no clue it is a WP coding standard.
   Thanks.
 * I noticed after one other small thing. Will check now test site to see if I can
   remember what was it.
    ———– No, all is OK. Probably was something on MainWP site,
   few lines more of CSS code needed.
    -  This reply was modified 9 years, 7 months ago by [Stagger Lee](https://wordpress.org/support/users/stagger-lee/).
 *  Plugin Contributor [Katrina “Kat” Moody](https://wordpress.org/support/users/katmoody/)
 * (@katmoody)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/one-small-addition-table-rows-hover/#post-8350038)
 * Don’t hesitate to share more functions if you put them together – we might be
   interested in adding a section to the site to highlight them!
 * Thanks!
    Kat

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

The topic ‘One small addition – table rows hover’ is closed to new replies.

 * ![](https://ps.w.org/backupwordpress/assets/icon-256x256.jpg?rev=1105225)
 * [BackUpWordPress](https://wordpress.org/plugins/backupwordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/backupwordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/backupwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/backupwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backupwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backupwordpress/reviews/)

## Tags

 * [excludes](https://wordpress.org/support/topic-tag/excludes/)
 * [function](https://wordpress.org/support/topic-tag/function/)

 * 3 replies
 * 2 participants
 * Last reply from: [Katrina “Kat” Moody](https://wordpress.org/support/users/katmoody/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/one-small-addition-table-rows-hover/#post-8350038)
 * Status: resolved