Totara Learn Open Discussions

Page Activity - Remove the "Last Modified:" text

 
UhrichMatthew
Page Activity - Remove the "Last Modified:" text
UhrichMatthew 发表于 2024年08月14日 Wednesday 09:28
 

I have been looking for a way to turn off the text that automatically appears at the bottom of the "Page" activities that states the date and time it was last modified.

In our program, we have some courses that use this activity type where the content hasn't changed in years. I want users to still be confident the information is up-to-date, but this field makes it seem like some things haven't been updated in a long long time.

I can't find anything on the individual activity settings.

I can't find anything in the Page Resource Settings: https://totara.help/17/docs/page-resource-settings

Is there a way to remove this from all Page activities?


BondDaniel
Re: Page Activity - Remove the "Last Modified:" text
BondDaniel 发表于 2024年08月15日 Thursday 00:34
小组 Most helpful contributor 2023

In the custom CSS settings of your theme, add the following:

.modified{display:none;}

It doesn't turn off the text entirely, but it does hide it so nobody can see it without going into the HTML.

UhrichMatthew
Re: Page Activity - Remove the "Last Modified:" text
UhrichMatthew 发表于 2024年08月15日 Thursday 11:49
 

Thank you! So simple to change! Is this just targeting page activity types or are there any other spots where this could affect?