Closed (fixed)
Project:
Aquasoft
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2007 at 13:01 UTC
Updated:
6 Mar 2007 at 22:17 UTC
Hi,
For the top toolbar icons(Primary Links) I'm using names with characters other than standart Ascii. As far as I know, in style.css file it's not posible to use non-ascii characters. Is there a way to use names with utf-8 for menu items and set icons for them?
Thanks.
Comments
Comment #1
Gurpartap Singh commentedYou can change the $cssid in function aquasoft_primary_links() in template.php to something that is compatible to type in your css file and unique for each menu item. Another trick that might work can be:
$key will be unique (hopefully) per link. Expectedly it'll be a number, if else case, it would still be unique. if they are spaced key names then you might want to use:
$cssid = str_replace(' ', '_', strip_tags($key));on the respective line instead. Hope this helps.Comment #2
Gurpartap Singh commentedAlso to mention, test the code and note the $key value for each of them and use in your css (example replace li#Administer by li#123, where 124 can be the $key value per menu item).
Comment #3
(not verified) commented