change location of the icon for files
dbetschart - September 7, 2008 - 20:13
| Project: | Iconizer |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
hi,
i enabled the iconizer and activated the "Enable icons for files links" function. The icon is correctly showing up on the page with the file, but i want the icon to appear on the left of the filename, currently the icon appears on the right of the text. can i change that? and how? i've added a picture so that you can see what i mean:
http://img56.imageshack.us/my.php?image=iconizernb4.jpg
thanks!

#1
Hi, implementing this feature means a complete rewrite of the CSS that display the icons. Maybe you can try to edit all lines in file_icons.css file.. maybe a feature to change on-the-fly the CSS is preferred.. but I can't imagine a way to do that.. sorry! :(
#2
no problem. i kinda got used to the icon on the right side of the file, so there's actually no more need to change it. :)
but thanks anyway! great module!
#3
#4
in files_icons.css change the left padding to 25px to make room for the icon, and the background alignment to left:
a[href$='.doc'], a[href$='.rtf'] {padding: 5px 20px 5px 25px;
background: transparent url(files_icons/icon_doc.gif) no-repeat center left;
}