Exchange "new|updated"-messages with images?

doctormord
doctormord's picture

Joined: 2005-01-26
Posts: 63
Posted: Thu, 2005-09-08 01:05

Hi,

im looking since hours to get rid of those "new|updated"-messages in my gallery. I want to replace em with small icons, but i cant find a template for it to change some values. I only found the corresponding .css-entry in theme.css.

Anyone may help me pls?

cheers.

doc

Have a look here, what i mean. :)

http://www.n0t.de/v/urban/urban_berlin/?g2_page=7

 
swift
swift's picture

Joined: 2003-12-08
Posts: 39
Posted: Thu, 2005-09-08 02:43

One pretty easy (and fairly compatible... I think..) way of doing this would be to just use CSS, and change the rules as such:

.giNew {
    text-indent: -10000px;
    background: url('path/to/your/image.gif') no-repeat;
    width: XXpx;
    height: YYpx;
}

You'll have to change XX and YY to be the width and height of your image (in pixels), and put in a proper path inside the quotes on the background line, and that *should* do it.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-09-08 03:39

if that method works, very cool. otherwise look in modules/newitems/module.inc

 
doctormord
doctormord's picture

Joined: 2005-01-26
Posts: 63
Posted: Thu, 2005-09-08 11:30

Isn't "text-indent: -10000px;" a bad css-hack?!

Edit:

That doesn't work for me, when i have the "span"-tag in module.inc. When i change this to "p"-tag it works fine. wired thing. :o