• Skip to primary navigation
  • Skip to main content

Artifex Routing Co

  • Plugins
  • Docs
  • Support
  • About
  • My Account
Coupon Creator mark COUPON CREATOR By Artifex Routing Co
OVERVIEW DEMOS PRO ADD-ONS COMPARE PRICING FAQ GET PRO
  • Can I change the print-view URL?
  • Can I combine an image and text in one coupon?
  • Can I display a coupon in a sidebar or widget?
  • Can I track the print view in Google Analytics?
  • How do I keep coupons out of site search?
  • How do I run custom code snippets safely?
  • How do I turn on automatic paragraphs (wpautop)?
  • What are Coupon Creator’s system requirements?
  • What size should my image coupon be?
  • Where does the shortcode go?
  • Which add-ons require Coupon Creator Pro?
  • Will I lose my coupons if I deactivate the plugin?
  • Advanced Templates
  • Click Reveal
  • Coupon Categories
  • Coupon Loop & Filter Bar
  • Coupon Options & Defaults
  • Creating a Coupon
  • Creating a Pro Coupon
  • Creating an Image Coupon
  • Customizing Coupons
  • Displaying Coupons
  • Dynamic Code
  • Email Delivery
  • Email Gate
  • Expiration & Recurring Expiration
  • Expiration Dates
  • Expiration Display
  • Getting Started with Coupon Creator
  • Installing & Activating Add-ons
  • Installing & Activating Pro
  • Locations & Vendors
  • MultiPrint
  • Print Features
  • Printing Coupons
  • Pro Options, Tab by Tab
  • Pro Styling & Image Coupons
  • The Coupon Counter
  • Troubleshooting 404 Errors
  • Troubleshooting 404 Errors
  • Troubleshooting 404 Errors
  • Troubleshooting Conflicts
  • Troubleshooting Conflicts
  • Troubleshooting Conflicts
  • Troubleshooting JavaScript Errors
  • Troubleshooting JavaScript Errors
  • Troubleshooting JavaScript Errors
  • WooCommerce Coupons
  • An update is out but my site is not showing it
  • How do I increase the WordPress memory limit?
  • How do I turn on WordPress debug mode?
  • My coupon was working but stopped displaying
  • My recurring expiration isn’t updating — how do I fix it?
  • The inserter, uploader, or date/color pickers aren’t working
  • Two “Click to Print” Links on a Modern Ticket
  • What information does the Site Health section show?
  • Why isn’t my Email Gate working?
  • Actions & Filters
  • Add an Expired Message to the Print View
  • Add Google Fonts to the Print View
  • Coupon Capabilities
  • Coupon Custom Fields (Post Meta)
  • Coupon Post Type & Taxonomy
  • Coupon Shortcode Reference
  • CSS Reference
  • Customizing the Counter
  • Disable the Colorbox Script
  • Email settings reference
  • Filter the Recurring Limit
  • Filter the Shortcode Query
  • Hide or Change the Dashed Border
  • Logged-In User Snippets
  • Pro Conditionals
  • Pro CSS Reference
  • Pro Custom Fields
  • Remove Print View Links
  • Terms Field Formatting
  • The Expiration Date on Image Coupons
  • Themer’s Guide
  • Translate or Change Text
  • A new version is out — why doesn’t my Plugins screen show it?
  • Does Coupon Creator Pro stop working when my license expires?
  • How do I activate my Coupon Creator Add-ons license?
  • How do I activate my license for Pro or add-ons?
  • How do I install Pro manually (upload, FTP, or cPanel)?
  • How do I manually update or downgrade the plugin?
  • How do I renew my license?
  • How do I transfer my license to another site?
  • How do I upgrade my license to more sites?
  • What does the license include?
  • What support can I expect?
  • Where do I add my license key?
  • Where do I find my license key?
  • Can I upgrade my license to a higher tier?
  • Do I need the free Coupon Creator plugin to run Pro?
  • Does Coupon Creator Pro support WordPress Multisite?
  • What payment methods do you accept?
  • What version of Coupon Creator do I need for Pro?
  • Is Coupon Creator GDPR compliant?
  • What languages does Coupon Creator support?
  • What software license does the plugin use?
  • What usage data does Coupon Creator collect?
  • Which browsers are supported?
  • Coupon Creator 3.6.2 — August 9th 2026
  • Coupon Creator 3.6.1 — August 7th 2026
  • Coupon Creator 3.6.0 — August 6th 2026
  • Coupon Creator Changelog
  • Coupon Creator Pro Changelog
  • Coupon Creator Add-ons Changelog
View Categories
  • Home
  • Docs
  • Coupon Creator
  • CSS Reference

CSS Reference

4 min read

The wrapper and element classes Coupon Creator outputs in the shortcode view and the print view, plus where to add your own CSS.

Most classes are emitted in two forms — an underscore version (cctor_coupon) and a hyphen version (cctor-coupon) — so you can target either convention. Container elements also carry per-coupon ID classes.

The Modern Ticket and the Classic template emit different markup. Check which
Coupon Type a coupon uses before writing a selector for it.

Shortcode view — Modern Ticket #

The ticket is driven by CSS custom properties set on the outer container, so most
recoloring is a matter of overriding a property rather than restyling an element.

Class Element
#coupon_creator_{id} Outer container (ID)
.coupon_creator_{id}, .coupon-creator-{id} Outer container (per-coupon)
.type-cctor_coupon, .cctor_coupon_container, .cctor-coupon-container Outer container
.cctor-ticket Outer container — marks this as the ticket template and carries the custom properties
{category-slug} Each assigned category adds its term slug as a class
.cctor_alignnone / .cctor_alignleft / .cctor_alignright Alignment (hyphen forms also exist)
.cctor-ticket-shadow Drop-shadow wrapper (the shadow lives here, not on the card, because the notches are masked)
.cctor-ticket-card Rounded card; intentionally has no background so the notches stay transparent
.cctor-ticket-head Accent panel holding the business name and deal
.cctor-ticket-eyebrow Business name line
.cctor-deal Deal heading (h3)
.cctor-ticket-body White lower panel; its dashed top border is the perforation
.cctor-terms Terms block
.cctor-ticket-foot Expiration + print-link row
.cctor_expiration.core Expiration line
.cctor_opencoupon, .cctor-opencoupon "Click to Open in Print View" wrapper
.print-link The link itself

Custom properties #

Property Controls Set from
--cc-accent Head panel background The coupon's deal background color
--cc-accent-ink Text on the head panel Computed for contrast; the coupon's deal font color overrides it
--cc-accent-readable Print-link color on white The accent, darkened if needed to stay readable
--cc-ink, --cc-muted Body text Fixed
--cc-surface Card background Fixed
--cc-line, --cc-line-strong Hairline rule, perforation dashes Fixed
--cc-radius, --cc-w, --cc-pad, --cc-notch Corner radius, width, padding, notch size Fixed

Override them on the container rather than restyling the parts:

.cctor-ticket { --cc-w: 400px; --cc-radius: 4px; }

Shortcode view — Classic text coupon #

Class Element
#coupon_creator_{id} Outer container (ID)
.coupon_creator_{id}, .coupon-creator-{id} Outer container (per-coupon)
.type-cctor_coupon Outer container
.cctor_coupon_container Outer container
.coupon-border Outer container
{category-slug} Each assigned category adds its term slug as a class
.cctor_alignnone / .cctor_alignleft / .cctor_alignright Alignment (hyphen forms also exist)
.cctor_wrap_link Link wrapping the whole coupon (when print link is enabled)
.cctor_coupon, .cctor-coupon Inner coupon
.cctor_coupon_content, .cctor-coupon-content Inner content (carries the inline inner-border color)
.cctor-deal Deal heading (h3)
.cctor-terms Terms block
.cctor_expiration.core Expiration line
.cctor_opencoupon, .cctor-opencoupon "Click to Open in Print View" wrapper
.print-link The link itself

Shortcode view — image coupon #

When a coupon uses the Image template, the outer container also gets .cctor-image, and the body is:

Class Element
.coupon_link Link around the image
.cctor_coupon_image The <img>

Print view — text coupon #

The Modern Ticket keeps its own classes in the print view and adds .cctor-ticket-print
to the outer container. The table below covers the Classic template.

Class Element
body.print_coupon, body.print-coupon Print page body
.cctor_coupon_container, .cctor-coupon-container Outer container
.type-cctor_coupon, .coupon-border Outer container
.cctor_coupon Inner coupon
.cctor_coupon_content, .cctor-coupon-content Inner content
.cctor-deal Deal heading
.cctor-terms Terms block
.cctor_expiration.core Expiration line
.cctor_opencoupon, .cctor-opencoupon Print-button wrapper
.print-link The "Click to Print" control — a real <button> in the print view (opens the browser print dialog); on coupon pages, the link to the print view

Print view — image coupon #

Class Element
.cctor_coupon_image The <img>

Adding custom CSS #

Two options, both of which apply to the shortcode view and the print view:

  1. Options page — Coupons → Options has a Custom CSS field (cctor_custom_css). Its contents are injected inline on the front end and inside the print template.
  2. Filter — return CSS from cctor_filter_inline_css:
add_filter( 'cctor_filter_inline_css', function ( $css ) {
    return $css . '.cctor-deal { text-transform: uppercase; }';
} );

The print view is a standalone page with no theme stylesheet, so theme CSS does not reach it — use one of the two methods above (or coupon_print_head, see google-fonts-print-view) to style it.

Updated on August 8, 2026
FAQ Reference

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Themer’s GuideActions & Filters
Table of Contents
  • Shortcode view — Modern Ticket
    • Custom properties
  • Shortcode view — Classic text coupon
  • Shortcode view — image coupon
  • Print view — text coupon
  • Print view — image coupon
  • Adding custom CSS

Artifex Routing Co

Dependable WordPress plugins from one small team.

Plugins
Coupon CreatorSteuard
Company
  • Terms of Service
  • Privacy Policy
  • My Account
© 2026 Artifex Routing Co
Plugins for WordPress
7ads6x98y

Contact us

Have a license? Log in and we will fill in your details.

Log into Your Account

Lost Password?

Or just send us a message

"*" indicates required fields

This field is for validation purposes and should be left unchanged.
What can we help with?*
Your Name:*
(uses account display name)
(uses account email)
Looking for a refund? Please fill out the refund form

Technical details

Drop files here or
Accepted file types: jpg, png, pdf, Max. file size: 2 MB, Max. files: 5.