Not so many…


Home | Pages | Archives


Moodle 4 Boost, Hide Block Titles

December 16, 2022 10:07 am

Good Morning, just thought I’d write a quick post about the blocks within the Boost theme in Moodle 4.

I’ve noticed that every block has the block’s name as a title. In our instance of Moodle 4 we do not want them as it duplicates what the content already displays.

So this is the CSS you need to pop into Boost / Advanced Settings /admin/settings.php?section=themesettingboost#theme_boost_advanced in the box ‘Raw SCSS theme_boost | scss’

/* Hide My Office365 block title */
.block_microsoft  .card-title {
    display: none!important;
}

/* Hide My Overview block title */
.block_myoverview .card-title {
    display: none!important;
}

In our case this does the following, the two blocks goes from this

To this

Hope that helps someone out there. I’m documenting this so I do not forget it when we go live to Moodle 4.1 in June 2023

Posted by Raymond Reid

Categories: Windows

Tags:

Leave a Reply



Mobile Site | Full Site


Get a free blog at WordPress.com Theme: WordPress Mobile Edition by Alex King.