Blocks around certain activity and resoures
Hi,
On some activities and resources, there is a big block around them, such as assignments, checklists, and image files.
Just wondering how I can remove them?
-
Hi Liam!
You are referring to the colored block that is around the icon? If that is the chase those icons are specific designed for Snap and can not be removed, for the contrary if you are referring to the top border color and the grey border, you can hide them through custom css pointing to the <li> element that represents the activity.
0 -
Thanks, can you tell me exactly what to put in the custom css?
0 -
If you want to completely remove the grey border and/or the top border color from an activity in a course, you'll need to put something like this at /admin/settings.php?section=themesettingsnap,
.course-content .section li.snap-activity {
border: none;
}And you will have something like the first activity, compared to a one with a border.
Please be careful, the class from the <li> element will depend on your settings for Snap activities, if they are displayed as a list or as a card and if the activity is a resource or not.
0
Please sign in to leave a comment.
Comments
3 comments