Skip to main content
  • Subscribe by RSS
  • ExLibris Dev

    Hiding the Date Slider

    Primo allows you to disable the Date slider via your view’s CSS.
    Date Slider Enabled
    For information on enabling the creation date categories (which are disabled out of the box), refer to the Primo Back Office Guide.
    To hide the Date slider:
    1. Log on to the Back Office server as the primo user.
      Instead of accessing the server directly (as shown in steps 1 and 2), it is recommended to use the File Uploader utility (see The File Uploader Tool) to manage and publish CSS changes to the Primo Front End UI.
    2. Enter the following commands to access and open the CSS file that is used to customize your view:
      cd css
      vi <custom_CSS>.css
      It is not recommended to modify the default Primo CSS, which can be overwritten during updates. For more information regarding the customization of Primo views, see the Primo Technical Guide.
    3. Add display: none to the following element in the CSS file:
      .EXLDateRangeText {text-align: center; margin-bottom: 25px; display: none;}
    4. Save the changes to the CSS file.
    5. On the Primo Home > Deploy All page, select all options and click Deploy.
    6. Perform a search to verify that the Date slider does not appear in the view.
    // feedback widged