Button or Link Does Nothing on Click: Debugging Steps
A dead click is usually an invisible overlay, a script error or a link without a target.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Debug
- Right-click, Inspect the element, and check it is the element you think it is. An invisible overlay with higher z-index may sit on top.
- Check the console for JavaScript errors at click time. See reading the browser console.
- Is the link's href empty or
#? - Does the button have
disabled, orpointer-events: nonein CSS? - Is a cookie banner or popup capturing clicks?
- Is JavaScript blocked or failed to load?
For checkout buttons, see Shopify Checkout Button Does Nothing or Goes to the Home Page.
Related guides
- WPForms or Gravity Forms Entries Not Saving
- WordPress Shows the Wrong Time or Publishes at the Wrong Time
- Where to Add Custom CSS or Code in WordPress Without Losing It After Updates
- "The Uploaded File Exceeds the upload_max_filesize" in WordPress: Fix
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.