Moodle 3.5 - how to delete course default image

Moodle 3.5 - how to delete course default image

by Mónica Puig-Pey -
Number of replies: 7

Hi all, 

We are trying to move our site to Moodle 3.5 version. Looking at the new features, we've seen there is an image or coloured pattern in the course description on the dashboard

Is it possible not to include this image? We  haven't found how to manage this from the administration site.

Any help will be appreciated. Thanks in advance,


Saludos, 


Mónica

Average of ratings: -
In reply to Mónica Puig-Pey

Re: Moodle 3.5 - how to delete course default image

by Malaiarasan jayaraj -

Hi Monica,

Please share the screenshot. Because dashboard having two images. one is course image another one top cover image. which one you want to remove.


Regards,

Malai


In reply to Malaiarasan jayaraj

Re: Moodle 3.5 - how to delete course default image

by Mónica Puig-Pey -

Hi Malai!

The one we want to delete is course image at the page joinned.

Thanks in advance, 


Mónica

dashboard

In reply to Mónica Puig-Pey

Re: Moodle 3.5 - how to delete course default image

by Malaiarasan jayaraj -
Hi Monica,

This is course default image. This one you can delete from theme folder.
Please find the below moodle path.
for example: moodle/theme/yourtheme/pix/default_course.jpg

Regards,
Malai
In reply to Malaiarasan jayaraj

Re: Moodle 3.5 - how to delete course default image

by Mónica Puig-Pey -

Thank you for the answer,

I'm sorry but I can't find any default_course.jpg image at the theme folder. 

I'm using Moodle 3.5 stable.

Regards, 


Mónica

In reply to Mónica Puig-Pey

Re: Moodle 3.5 - how to delete course default image

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

It's not currently possible   -you can vote for this tracker issue MDL-62683

You could replace the patterns with plain transparent or white images if you wanted to I suppose.

In reply to Mónica Puig-Pey

Re: Moodle 3.5 - how to delete course default image

by Kahraman Bulut -
Picture of Testers

You can hide it by CSS. Just put this code in your custom CSS:

.courses-view-course-item a{

    display:none;

}


It will not display all Course images in your dashboard.

For example, if you are using default Boost them then it is at yourmoodlesite.com/admin/settings.php?section=themesettingboost

Please check screenshot below:


Attachment raw_scss.PNG
In reply to Kahraman Bulut

Re: Moodle 3.5 - how to delete course default image

by Przemek Kaszubski -
Picture of Particularly helpful Moodlers Picture of Testers

The suggested solution will also stop the custom images as well as remove any overlay text and hyperlinks on the course tiles! 

To only stop the automatically loaded image backgrounds you should be better off with this:


div.courses-view-course-item a div[style*='data']  {

background-image:none !important;


Just tested on the Dashboard in My Moodle 3.5.1. Not sure I want this setting, but I found it an interesting case.