WP Popups

The most complete WordPress popup builder plugin

  • Features/Addons
  • Pricing
  • Support
  • Docs
  • Login
  • My Account
  • Logout
  • Get WP Popups Now
You are here: Home / Docs / How to add a custom close button?

How to add a custom close button?

When you add a link or button to your popup it will work as a custom conversion link by default. If you instead need to add a close button all you need to do is to add  “spu-close-popup” class attribute to any HTML element you want to act as the closing button.

For example using a url tag it will be like this:

<a href=”#” class=”spu-close-popup”> Close popup</a>

And the same if you want to add it to an image:

<img src=”path_to_image.png” class=”spu-close-popup”/>

And if you want to add a link that won’t close or convert your popup you need to add: spu-not-close

 

Search results

Categories

  • Addons
  • Email Marketing
  • Functionality
  • Getting Started
  • Misc
  • Styling

Need help?

Not finding what you need? We are here to help, please submit a support ticket.

Features

  • 30+ Display rules
  • 45+ Animations
  • A/B Testing
  • Analytics
  • Email Marketing
  • Zapier Addon
  • Multiple Triggers
  • Template Builder
  • Multiple Positions
  • Geolocation
  • Age Verification
  • Idle Logout
  • Leaving Notice
  • AJAX Login/Registration
  • Scheduler Addon

SITE

  • Blog
  • Docs
  • Pricing
  • Affiliates
  • Features
  • Contact
  • Terms & Conditions

Other Products

  • Timersys Plugins
  • GeotargetingWP
  • Facebook Login for WordPress
  • WooCommerce Map Delivery Area
  • WooCommerce Bogo Deals

Linsila LLC © 2023 · Built with Genesis

Before you leave, sign up to our newsletter to receive important updates from our blog and special pormotions!

×