Is it possible to make the site badge exit after a period of time? if so how can I do this?
Thanks
Allan
Is it possible to make the site badge exit after a period of time? if so how can I do this?
Thanks
Allan
Not currently, but you can hide it via the General Settings if you don’t want it to show on your site.
Edit: I just asked ChatGPT for a bit of code to do this and it wrote this (see below). I did a quick test and it seemed to work (although could use some refinement), you’ll need to paste it in the site-wide CSS area.
rapidweaver-badge {
position: fixed;
left: 20px; /* Adjust as needed */
bottom: 20px;
transition: transform 0.5s ease-in-out;
animation: slideOut 0.5s ease-in-out 10s forwards;
}
@keyframes slideOut {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}
Thank you! that seems to work.
Whilst it works, it now sits behind some of the stacks.
Cheers
Al