get rid of the key-icon?

get rid of the key-icon?

by Martin Koops -
Number of replies: 7

I cannot find out how to hide (display:none;)??? the key icon in the course overview on the first page.

Any suggestions?

Average of ratings: -
In reply to Martin Koops

Re: get rid of the key-icon?

by Jean-Marc Loisil -
Hi,

I guess you could use a rule like :

.courseboxcontent img{
    display:none;
}

But the "key icon" gives an interesting information ?
In reply to Martin Koops

Re: get rid of the key-icon?

by Urs Hunkler -
Picture of Core developers

Martin, I don't see a way to hide only the key. As Jean-Marc mentions this key is a valuable part of learner information and is used on all Moodle pages with course lists. Could you please tell us why you want to hide the key?

Urs

In reply to Urs Hunkler

Re: get rid of the key-icon?

by Martin Koops -

I feel that it is nicer for a fuirst page top see only a title and a login box, and not too much information.

I understand the importance of the info, but for this particular case I need a site that looks really 'neat'.

I expect many 'one time visitors'.

This time the user will experience that it is restricted by clicking on it...

In reply to Martin Koops

Re: get rid of the key-icon?

by Steve Hyndman -

I'm not sure how to hide it through coding, but you can find the key.gif at moodle/pix/i/key.gif

It is a 16 x 16 pixel gif image. I've attached a 16 x 16 pixel transparent gif...just replace the key.gif with this one and that will hide it.

Steve

...well, I thought I attached it, but the attachment doesn't seem to be taking. You can right-click the box below and save the gif.

Attachment key.gif