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
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

thePanz - September 18, 2008 - 16:19

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

dbetschart - September 18, 2008 - 22:04

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

thePanz - October 8, 2008 - 10:27
Version:5.x-1.1» 6.x-1.x-dev
Category:support request» feature request
Status:active» postponed

#4

sapark - January 23, 2009 - 14:45

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

 
 

Drupal is a registered trademark of Dries Buytaert.