Turn editing on: Making the Moodle Calendar block neater by removing the Events Key

Source: Turn editing on: Making the Moodle Calendar block neater by removing the Events Key

I think I prefer the Moodle Calendar block to the Upcoming Events block because it has a little more visual appeal, with event dates neatly highlighted. The Upcoming Events block can make the course homepage look crowded if there are many events such as deadlines in the near future. However, I don’t like the Events Key that appears in the Calendar block. I’d rather not distract learners with links on the course homepage that are not central to the course experience. The Events Key has four links — that’s a lot.

I wanted to hide the Events Key in this block while retaining it in the full view of the Calendar (which you see upon clicking the month name in the Calendar block) — I didn’t want to lose this set of links altogether!

So I added these two lines of CSS in the settings of my theme:

.block_calendar_month.block .filters.calendar_filters
{display:none;}

.block_calendar_month.block .eventskey {display:none;}

Now I have a neater calendar:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s