Hide file attachments from search results
- Last updated
- 16:41, 25 May 2016
Save as PDF
Are your search results cluttered with file attachments you'd rather hide? No worries. With a few simple steps you can make sure your customers only see what matters.
- On the MindTouch toolbar, select Site tools > Control panel.
- Click Custom Site CSS.
- In the All Roles CSS field enter the following code:
/* Hide file attachments from search results */
TIP: If you want your content managers and administrators to find file attachments through search, add the code to the Anonymous CSS and Community Member CSS fields only.
TIP: Include a comment such as
/* Hide file attachments from search results */ in the above example to remind yourself and other coders what the snippet of code accomplishes.
NOTE: Depending on how many file attachments are hidden from results, you may notice a double white or double gray row.