General developer forum

Moodle 3.5 - how to delete course default image

 
Picture of Mónica González
Moodle 3.5 - how to delete course default image
 

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: -
Picture of Malaiarasan jayaraj
Re: Moodle 3.5 - how to delete course default image
 

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


 
Average of ratings: -
Picture of Mónica González
Re: Moodle 3.5 - how to delete course default image
 

Hi Malai!

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

Thanks in advance, 


Mónica

dashboard

 
Average of ratings: -
Picture of Malaiarasan jayaraj
Re: Moodle 3.5 - how to delete course default image
 
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
 
Average of ratings: -
Picture of Mónica González
Re: Moodle 3.5 - how to delete course default image
 

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

 
Average of ratings: -
Mary Cooch
Re: Moodle 3.5 - how to delete course default image
Documentation writersMoodle Course Creator Certificate holdersMoodle HQParticularly helpful MoodlersTestersTranslators

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.

 
Average of ratings: -
Picture of Kahraman Bulut
Re: Moodle 3.5 - how to delete course default image
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:



 
Average of ratings: -
Picture of Przemek Kaszubski
Re: Moodle 3.5 - how to delete course default image
Particularly helpful Moodlers

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.

 
Average of ratings: -