Contribution Date
Technology
Contribution Project
Contribution Details
I have edited menu_icons_css_item.tpl.php and now I can see the corresponding images-
Added a variable 'global $base_url'
and updated 'background-image'
attribute value.
Code is now looking somewhat like:
<?php global $base_url;?>
a.menu-<?php print $mlid ?>, ul.links li.menu-<?php print $mlid ?> a {
background-image: url(<?php echo $base_url.$path ?>);
padding-<?php print "$pos:$size"?>px;
background-repeat: no-repeat;
background-position: <?php print $pos?>;
height: <?php print $height?>px;
}
Contribution Issue Link
Contribution Link
Files count
0
Patches count
0