Download & Extend

change location of the icon for files

Project:Iconizer
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

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!

Comments

#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

Version:5.x-1.1» 6.x-1.x-dev
Category:support request» feature request
Status:active» postponed

#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;
}

#5

I'd like to see this implemented as an option to the module's page.

Also, it would be nice to not have a general 'Display on left/right side of link' radio box, but rather one setting for each type of icons. For example, one might like the like the icons for files and the admin page on the left, but prefer to have icons for the protocols on the right.

Subscribing.

nobody click here