-
Bernhard
Hi there,
I want to create an overlay where I write “sold out”, maybe with a png image or an svg file.
A sample container and an image how it shall look like is in the test page.
I then want to apply this in more containers via css classes.
Thank you -
David
Hi there,
try:
1. Add this CSS:
.sold-out { position: relative; } .sold-out:after { content: "SOLD OUT"; position: absolute; pointer-events: none; inset: 0; display: flex; justify-content: center; align-items: center; font-size: 80px; font-weight: 900; color: #f00; transform: rotate(-25deg) }
2. Select a Container Block and in Advanced > Additional CSS Classes add:
sold-out
-
Bernhard
Hi David,
great. Thank you 🙂 -
David
You’re welcome
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.