This topic is locked
[SOLVED]

 Navigation images

5/22/2012 2:54:37 AM
PHPRunner General questions
author

I am trying to put a back ground image in the navigation bar. I tried first to but the image on its own in but the text always went on top of the image even i used CSS to make the box bigger width:200px; text-align:right; (but the size and alignment did not change)
currently i have this CSSbackground-image:url('custom_image/tasks.png'); background-repeat:no-repeat; background-position:0% 0%; font-weight: normal;
How can I put an image as a background in the navigation bar and space the text to the right with a padding: 15px; I have tried removing all the text or putting spaces in front of the text but PHPRunner ignore the spaces and does not allow the field to be empty.
Any ideas, has any body done this?
Thanks in advance

7542 5/23/2012

H
I added this code to theMenu Item Modify. It worked
if ($menuItem->getTable()== 'tasks')

{

$menuItem->setTitle("<img src=custom_image/tasks.png align=middle> Tasks");

}