Hiding the Date Slider (Classic UI)
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:
-
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.
-
Enter the following commands to access and open the CSS file that is used to customize your view:fe_webcd cssvi <custom_CSS>.cssIt 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.
-
Add display: none to the following element in the CSS file:.EXLDateRangeText {text-align: center; margin-bottom: 25px; display: none;}
-
Save the changes to the CSS file.
-
On the Primo Home > Deploy All page, select all options and click Deploy.
-
Perform a search to verify that the Date slider does not appear in the view.