WhatCD / Gazelle

http://whatcd.github.io/Gazelle/
1.84k stars 363 forks source link

Changing category images to match new categories #39

Open heretic1 opened 10 years ago

heretic1 commented 10 years ago

I am having a hard time figuring out how to change the default images to match my new categories. If I change the image in the images folder in the styles it does nothing the only image that shows is the one category I didn't change the music category. If I change music.png to apps.png in style.css it will show the apps image, but I cannot get any images to show for any other categories.

What am I missing?

Saboti commented 10 years ago

You have to edit /static/styles//style.css and add you categorie Image like this:

.cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; }

WhatCD commented 10 years ago

Saboti is correct about where the category images are configured.

@heretic1 If you simply replaced the image with a new one, and did not change the file's name, then it is likely that your browser has cached the images. Try clearing your browser cache after you've made the change.