A slide-out card asks for one small gesture: drag the front of the card aside, and the code behind it is there.

It is the gentlest of the three card types – nothing is destroyed, the front simply moves out of the way in whichever direction you choose.

For the full settings tour of the Coupon Code widget, see Coupon Code Widget: Settings Overview.

Requirement – This widget is a part of The Plus Addons for Elementor Pro, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Edition: Pro — Coupon Code ships only in The Plus Addons for Elementor Pro. The free plugin contains no coupon widget at all, so there is nothing to fall back to.
  • Prerequisite: Elementor (free) installed and active.
  • Widget to enable: go to The Plus Addons > Widgets, search for Coupon Code and turn its toggle on. This is the Widgets screen, not Extensions.

Build the card

  1. Edit the page with Elementor and drag the Coupon Code widget onto it.
  2. In Content > Layout, choose Slide Out under Coupon Type.
  3. In Content > Content, set Width and Height (responsive sliders in pixels), then pick a Slide Out Direction – Left, Right, Top or Bottom. Left is the default.
  4. Turn on Direction Hint Icon if you want an arrows symbol on the card showing the visitor what to do. It is off by default.
  5. Fill in Content > Front Side and Content > Back Side exactly as for the other card types.
Setting up a slide out coupon card in the elementor panel.
The slide-out card with the direction hint icon.

The fields

SettingWhat it doesDefault
Slide Out DirectionWhich way the front side moves when it is dragged.Left
Direction Hint IconDraws a small arrows symbol on the card as a cue.off
Width / HeightThe card’s size. Responsive; Width is a maximum.empty
Content Type (front and back)Default for plain fields, Template for a saved Elementor template.Default

How It Behaves

  • The front side slides, it is not erased. On a published page with Slide Out Direction set to Left, dragging the card left moved the front side well past the card’s left edge while the back side stayed exactly where it was and stayed visible. With Right, the front moved the same distance the other way.
  • Drag, do not click. A click does nothing; the card responds to a press and a drag along the chosen axis.
  • Direction Hint Icon renders as a small arrows graphic on the card, drawn in the current text colour.
  • Styling comes from Style > Front Side Content, Style > Back Side Content and Style > Box Content.
The front side slid to the left, revealing the code.
A slide out coupon card being dragged open on the front end.

Limitations

  • The card has no style presets. There is no picture picker for Slide Out; the look comes entirely from the Style tab.
  • No copy button. Copying to the clipboard belongs to the Standard type’s popup. On a card the visitor selects the code by hand.
  • Icons can render as empty boxes. The widget’s scissors icon and the Close Icon use Font Awesome, which The Plus Addons does not load by itself. On a page with no other Font Awesome icon they can come out blank.

Not verified

So you know exactly what has and has not been checked:

  • Slide Out Direction set to Top or Bottom. Left and Right were driven and measured on a published page. The other two were read from the plugin’s code only.
  • Touch devices. The peel, scratch and slide-out gestures were driven with a mouse on a desktop viewport. The widget binds touch events too, but a real touch device was not used.
  • The Style tab. Standard Style 1 and Style 3 were rendered; no colour, typography, border or popup-styling control was exercised.

Troubleshooting

The card does not move

Try it on the published page – the drag is set up by front-end JavaScript that does not run in the Elementor preview. Then check you are dragging along the axis you chose: a Left card ignores an up-and-down drag.

The visitor does not realise it can be dragged

Turn on Direction Hint Icon, and say so in Front Side > Content.

The back side is visible around the edges

The two faces are the same size, so a front side shorter than the card leaves the back showing. Give the card a Height and check the front side’s padding under Style > Front Side Content.