Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Hide All or Part of My Account

    • Article Type: General
    • Product: Primo
    • Product Version: 4

    Desired Outcome Goal:
    What CSS code is needed to hide the entire MY Account option? Could only part of My Account be hidden such as Personal Settings, Requests or Fines and Fees?

    Procedure:
    *CSS to remove all of My Account

    /* Remove My Account from the Main Menu */
    .EXLMyAccount {display:none;}

    *CSS to remove parts of My Account
    /* Remove Request link from My Account */
    .EXLMyAccountMainMenuContainer ol li:nth-child(2) {display:none;}

    /* Removes Fines & Fees - nth-of-type is not supported before IE9 so that is why it's using a css2 selector*/
    #exlidMyAccountMainMenuContainer ol li:first-child + li + li{display: none;}

    /* Remove My Databases from My Account */
    #exlidMyDatabasesTab {display: none;}

    /* Remove items stores TEMPORARILY/Sign-in Line at top of My Account and E-Shelf */
    #exlidHeaderSystemFeedback div.EXLSystemFeedback {display:none;}

    /* REMOVE MY ACCOUNT > "Personal Settings" and "Edit Details" Link */
    .EXLMyAccountEditLink {display: none;}

    Additional Information

    *Personal Settings/Edit Details Note: As of Oct. 1, 2014, Primo 4.8.2 This only works when signed in;
    *"Guest" patrons still sees 'Edit Details'.

    Category: Front End - Primo

    Subject: Personalize - Primo


    • Article last edited: 10/6/2014