3 ms·
OT but anyone know how the author made that floating subscribe button happen? I inspected the code but I'm not a web dev and can't entirely tell how that was do
by doctorhandshake 4y ago
OT but anyone know how the author made that floating subscribe button happen? I inspected the code but I'm not a web dev and can't entirely tell how that was done.
AFAIK this is not a native Substack thing, and also AFAIK Substack doesn't allow CSS modification or injection of code.
- HWR_14 4y agoCheck out the .subscribe-dialog-pill CSS style. It's a combination of the z-index: 1 and position: fixed (I believe). I know nothing about Substack's CSS/JS rules. But I do believe that the behavior is controlled in the CSS style I mentioned.