I figured out how to modify the theme in order to get rid of the "course" view tab (pint "3." in my previous post).
Add below code to your custom CSS of your theme:
.block-myoverview .nav.nav-tabs li.nav-item :nth-child(1) {
display: none;
}
This will eliminate the "timeline" tab. So now there is only the "course" tab left. As there now is only this one left, you actually also can delete this one, too - ie. hide both of them - by adding this custom CSS to your custom
.block-myoverview .nav.nav-tabs {
display: none;
}
This will eliminate both tabs.
Btw: You can realize this as admin in your moodle system, you do not need to change any files. And don't forget to set the right default view in the block's settings.
Best,
Flotter