Topics Map > Discovery/Fulfillment > Discovery

(Public) - Primo Optional campus banner and Central Banner

Campuses can now add an optional campus banner to their view css that will stack with the central package.

David Hietpas has come up with an option to allow campuses to add banners and not have it interfere with the Central Package banner.  


If campuses would like to add an optional banner, they just need to add this additional code to the custom.css file.  

 /* LOCAL BANNER */
body::before {
    content: "Our campus is currently experiencing problems with ...";
    display: inline-block;
    background: #ecd90f;
    text-align: center;
    width: 100%;
    font-weight: bold;
}

Save the css file in the folder structure and zip it using 7zip.

Then upload it to your view and deploy that view from the Customization Manager.


For Upgrades or for system wide messages we use this for the Central Package

 /* Banner message */
primo-explore::before {
content:"UW System libraries are experiencing service delivery interruptions. Requesting physical items is currently unavailable.  We hope to provide alternative request services to patrons in the coming day.  Please check with your local campus or visit wisconsin.edu/coronavirus/"; 
display: inline-block; 
background:#ecd90f; 
text-align:center; 
width:100%; 
font-weight:bold;
}




Keywords:css, primo, campus banner,   Doc ID:76390
Owner:Katie S.Group:UW Libraries Shared Systems
Created:2017-09-07 12:24 CSTUpdated:2020-11-02 09:25 CST
Sites:General Library System, UW Libraries Shared Systems
Feedback:  0   0