This topic is locked

Menu length in menu.php pge

12/16/2009 9:33:15 PM
PHPRunner General questions
S
stugutz author

How can I increase the length of text on the menu in the menu.php page.

I noticed it wraps the text after x amount of letters (looks like 30 letters) on the menu.
eg: Health Employees (State) Award

it reads: Health Employees (State)

Award
I want it to be all on 1 line.
the source for that page on phpr is v5.1 (2135)
<html {$html_attrs}>

<head>

<link REL="stylesheet" href="include/style.css" type="text/css">

<!--[if IE]>

<link REL="stylesheet" href="include/styleIE.css" type="text/css">

<![endif]-->

<style>

center_block {width:35%;margin:0 auto;min-width:300px}

contents_block {text-align:left;}

header_block {padding:2px 5px 6px;text-align:center;line-height: 1.8}

tables_block {width:auto;margin:0;padding:10px;}

header_block span {padding-right:10px}

.captions {padding:6px 10px;}

</style>

</head>

<body>

{BEGIN body}

{$header}

<table align=center id="center_block"><tr><td id="contents_block">

<b class="xtop"><b class="xb1b"></b><b class="xb2b"></b><b class="xb3b"></b><b class="xb4b"></b></b>

<div class=upeditmenu id="header_block">

{BEGIN loggedas_block}

<span>

Logged on as <b>{$username}</b>

</span>

{END loggedas_block}

{BEGIN logout_link}

<a href="login.php?a=logout" class=tablelinks>Log out</a>

{END logout_link}

</div>
<div id="tables_block" class="shade captions">

<!-- MainMenuBegin -->

{$mainmenu}

<!-- MainMenuEnd -->

</div>

<b class="xbottom"><b class="xb4b"></b><b class="xb3b"></b><b class="xb2b"></b><b class="xb1b"></b></b>

</td></tr></table>

{$footer}

{END body}

</body>

</html>
cheers

J
Jane 12/17/2009

Hi,
to increase menu block check #mainmenu_block in the generated templates/mainmenu.htm file.

Find and edit following line:

#mainmenu_block {width:200px;}