Avatar

change the picture for a reply (General)

by Micha ⌂, Sunday, January 04, 2015, 13:05 (3393 days ago) @ Dirk

Hi,

I assume that my image must have the same name?

The name of the image must be the same as in the CSS file. The new replies get the CSS class replynew e.g.

<a class="replynew read" href="index.php?id=8098">change the picture for a reply</a>

The corresponding CSS reads for the image

a.replynew, a.replynew:link {
background: url(images/bg_sprite_1.png) no-repeat 0 -398px;
}

Thus, you can only change the image uri in the CSS:

a.replynew, a.replynew:link {
background: url(images/my_new_image.png) no-repeat;
}

In this case, no further modifications are necessary.

regards
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences


Complete thread:

 RSS Feed of thread