Title: Close button / function not working on mobile devices
Last modified: October 21, 2021

---

# Close button / function not working on mobile devices

 *  Resolved [sivaprakash](https://wordpress.org/support/users/sivaprakash008/)
 * (@sivaprakash008)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/close-button-function-not-working-on-mobile-devices/)
 * Hey, I have enabled this Wpfront notification bar on my site, but unfortunately,
   the close button/function not working on mobile devices alone. On desktop working
   cool. even tried with debug mode, over all the statement is fine but the function
   not working. have a look over it and help me in this
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fclose-button-function-not-working-on-mobile-devices%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Swathi S](https://wordpress.org/support/users/swathiswpfront/)
 * (@swathiswpfront)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/close-button-function-not-working-on-mobile-devices/#post-14998944)
 * Hi [@sivaprakash008](https://wordpress.org/support/users/sivaprakash008/),
 * I took a look at your site and found that you’re using Custom CSS for WPFront
   Notification Bar.This is most likely to be the cause of the issue as its breaks
   the plugin functionality. Please confirm this by making a change in the below
   CSS
 *     ```
       @media (min-width: 320px) and (max-width: 720px)
       #wpfront-notification-bar {
           height: 75px !important;
       }
       ```
   
 * Then flush all of your site’s caches and do a fresh load of your site in order
   to check if the issue is resolved.
 * I hope this helps! Let us know if you have any further questions
 * Thanks,
    Swathi
 *  Plugin Support [Swathi S](https://wordpress.org/support/users/swathiswpfront/)
 * (@swathiswpfront)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/close-button-function-not-working-on-mobile-devices/#post-15045472)
 * Resolving due to inactivity. If you have any queries please feel free to get 
   in touch with us.
 * Thanks,
    Swathi S

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

The topic ‘Close button / function not working on mobile devices’ is closed to new
replies.

 * ![](https://ps.w.org/wpfront-notification-bar/assets/icon.svg?rev=1672432)
 * [WPFront Notification Bar](https://wordpress.org/plugins/wpfront-notification-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpfront-notification-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpfront-notification-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpfront-notification-bar/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Swathi S](https://wordpress.org/support/users/swathiswpfront/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/close-button-function-not-working-on-mobile-devices/#post-15045472)
 * Status: resolved