Title: grey button only
Last modified: April 7, 2023

---

# grey button only

 *  Resolved [ericg2](https://wordpress.org/support/users/ericg2/)
 * (@ericg2)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/grey-button-only/)
 * Hello [@glenwpcoder](https://wordpress.org/support/users/glenwpcoder/)
 * I just have a poor grey button : select files.
 * I deactivate the cache plugin but with or without nothing change, my test is 
   here : [https://www.ancramillage.fr/3611-2/](https://www.ancramillage.fr/3611-2/)
 * Please let me know how to fix it. It works nice on others website
 * Thanks in advance
 * Eric
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgrey-button-only%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/grey-button-only/#post-16636060)
 * Hi [@ericg2](https://wordpress.org/support/users/ericg2/) ,
 * It looks like the assets like JS and css folder were loaded properly.
 * Like:
 * /wp-content/plugins/contact-form-7/includes/swv/js/index.js?
   /wp-content/plugins/
   drag-and-drop-multiple-file-upload-contact-form-7/assets/js/codedropz-uploader-
   min.js
 * Can you try and add this in your “theme/functions.php” file?
 *     ```wp-block-code
       add_filter( 'wpcf7_load_js', '__return_true' );
       add_filter( 'wpcf7_load_css', '__return_true' );
       ```
   
 * Or add the code below in your wp-config.php file.
 *     ```wp-block-code
       define( 'WPCF7_LOAD_JS', true );
       ```
   
 *  Thread Starter [ericg2](https://wordpress.org/support/users/ericg2/)
 * (@ericg2)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/grey-button-only/#post-16636200)
 *  Hi [@glenwpcoder](https://wordpress.org/support/users/glenwpcoder/)
 * Thanks for help
   There were two opposite lines in the function.php file as follows
 * `add_filter( 'wpcf7_load_js', '__return_false' );
   add_filter( 'wpcf7_load_css','
   __return_false' );
 * I just delete this 2 line, and it works
 * I had follow advice here : [https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/](https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/)
   
   I imagine the both function could not run together ? false/true 🙂
 * Eric

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

The topic ‘grey button only’ is closed to new replies.

 * ![](https://ps.w.org/drag-and-drop-multiple-file-upload-contact-form-7/assets/
   icon-128x128.jpg?rev=1984850)
 * [Drag and Drop Multiple File Upload for Contact Form 7](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ericg2](https://wordpress.org/support/users/ericg2/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/grey-button-only/#post-16636200)
 * Status: resolved