This tip explains how to add light gray vertical dividers (70% height) between selected
Elementor Call to Action (CTA) widgets. This works great for dashboards and grid-style layouts
and does not affect CTA widgets globally.
Edit the page in Elementor and select the container that holds the CTA widgets
(for example, a row with three CTA widgets).
Go to Advanced → CSS Classes and add:
dashboard-cta-grid
Add the class only to the CTA widgets that should display a right-side divider
(for example: widgets 1, 2, 4, and 5).
dashboard-divider Important: Do not add this class to the last widget in each row.
Go to Appearance → Customize → Additional CSS and paste the following code:
/* =========================================================
START – Dashboard Page (Client Dashboard)
Feature: CTA vertical dividers
Description:
- Adds a light gray vertical divider (70% height)
- Applied only to CTA widgets inside .dashboard-cta-grid
========================================================= */
.dashboard-cta-grid .dashboard-divider .elementor-cta {
position: relative;
}
.dashboard-cta-grid .dashboard-divider .elementor-cta::after {
content: "";
position: absolute;
top: 15%;
right: 0;
width: 1px;
height: 70%;
background-color: #e5e5e5;
z-index: 3;
pointer-events: none;
}
/* =========================================================
END – Dashboard Page (Client Dashboard)
========================================================= */ After saving the CSS, do the following:
z-index is required because CTA widgets use a background overlay