in Joomla 2.5 i add custom images to my menu with link type option.How can i place the text of menu appear under the image?
already tried that
$linktype = '<img src="'.$item->menu_image.'" alt="'.$item->title.'" /><br/><span class="image-title">'.$item->title.'</span> ' :
but this don't work
I believe this is happening due to the type of display that is assigned to the image. To change it, assign a class to your image like so:
$linktype = '<img class="menu_image" ......
Once done, open the CSS file for your template and add in the following code:
img.menu_image {
display: block;
}
Hope this helps