(2023-08-09, 07:51 PM)SimplifyAndAddCoffee Wrote: I found a thread with info on how to do this a while back on reddit but it is gone now or I can't find it.
I want to inject prominent text at the top of the home/library pages e.g. "The Server will be Offline Aug 12-14 for maintenance" etc to notify users of upcoming changes or expected outages.
How can I accomplish this in the most simple manner (using the Custom CSS Code field in General settings)
EDIT: I figured it out, so here's the answer for anyone else searching for it:
Code:.skinHeader::after {
content: "NOTICE: This is your Notice Text. Thank You For Noticing.";
display: block;
position: relative;
background-color: gold;
color: #000;
text-align: center;
padding: 10px 0;
font-weight: bold;
}
This creates a yellow banner below "Home" and "Favorites" on the main library pages, with black text for your message. Edit text and colors to your liking.
I made my own implementation based on yours (disclaimer: assisted by AI

It shows with an animation and a loading bar, and after a preset time in vanishes. It looks a bit weird when the loading bar finishes but it's so quick I don't mind it that much. Hope its of use for someone
