You can use the Hide Load More enhancement to remove the Load More button found below the Blog Articles widget, Calendar Events widget, and Microblog Posts widget.
Sections in this article:
- Considerations
- Set up the enhancement
- Configure the enhancement
- Turn the enhancement on
- Turn the enhancement off
- Use the enhancement
Considerations
- Default behavior: This enhancement hides default functionality; be sure your members don't require this behavior.
Set up the enhancement
To set up the enhancement for the first time, follow the steps below. To request this enhancement to be set up in your digital workplace, contact our Igloo team.
Add enhancement code to the header
Warning
Adding code that contains errors can disrupt the functionality of your digital workplace. Use caution when adding code to this area.
Add the following code to the header of your digital workplace:
<!-- Hide Load More enhancement begins -->
<link rel="stylesheet" type="text/css" href="https://igloo-prod.azureedge.net/cmedia/enhancements/HideLoadMore.css" />
<!-- Hide Load More enhancement ends -->
Configure the enhancement
The Hide Load More enhancement can be used with the Blog Articles widget, Calendar Events widget, and Microblog Posts widget. To configure the widget:
- Navigate to the page you want to edit.
- Select
Actions and then Edit.
- Place a widget or select Edit on the widget.
- Configure the widget as needed in the Options tab.
- In the Appearance tab, in Class, enter the following:
hide-load-more. - Select Update.
- Select Publish Page.
Turn the enhancement on
Once the code has been placed, the enhancement is ready to be used. If you have already turned the enhancement off following the steps in the Turn the enhancement off section below, you can remove <!-- before and --> after the middle line, and save the changes to the header.
Turn the enhancement off
To turn the enhancement off, you can remove the code entirely or add <!-- before and --> after the middle line, as shown below, and save the changes to the header.
<!-- Hide Load More enhancement begins -->
<link rel="stylesheet" type="text/css" href="https://igloo-prod.azureedge.net/cmedia/enhancements/HideLoadMore.css" />
<!-- Hide Load More enhancement ends -->
Changes to:
<!-- Hide Load More enhancement begins -->
<!-- <link rel="stylesheet" type="text/css" href="https://igloo-prod.azureedge.net/cmedia/enhancements/HideLoadMore.css" /> -->
<!-- Hide Load More enhancement ends -->
Use the enhancement
Members will be unable to view or use the Load More buttons.