News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

New generic_icons.png...

Started by GrCOTE7, September 03, 2015, 03:58:16 PM

Previous topic - Next topic

GrCOTE7

Well...

And globally, in the 2.1b2, all seems well...:-)... SMF is very great (y) ! Thinks... PhpBB, the 'Mastodonte', needs about 5 times more files...


Except 1 thing, an icon:

In a board, when some topics as followed, insted of glasses, we see the download's icons

See joined capture... Points #1 and #2
(Note nthat script is found...#3)

We see #4 the previous generic_icon.png and #5, the actual...

How to adapt Message_index.template.php ?

Oldiesmann

It's better to add the additional icons at the end of the existing ones if you want to use a modified generic_icons image. If you don't want to do that you'll need to edit the positions for the various generic_icons classes in Themes/default/images/index.css. The first position is how many pixels in from the left, the second is how many pixels from the top (so "-31px, -5px" means display the portion of the image that's 31px from the left and 5 pixels from the top).
Michael Eshom
Christian Metal Fans


GrCOTE7

Yes, Antes.... BRAVOS :-)

Now, we have got pretty icons :-)

Thanks.

Advertisement: