Fix the main menu color.

This commit is contained in:
Mark Crane 2015-01-09 20:57:40 +00:00
parent fa1b0bc203
commit 9cb5bbec4b
7 changed files with 13 additions and 2 deletions

View File

@ -495,7 +495,12 @@
//hide login and sign-up when the user is logged in
}
else {
$db_menu .= "<a ".$menu_tags." style='padding: 0px 0px; border-style: none; background: none;'><h2 align='center' style=''>".$menu_item_title."</h2></a>\n";
if (strlen($field['menu_item_link']) == 0) {
$db_menu .= "<h2 align='center' style=''>".$menu_item_title."</h2>\n";
}
else {
$db_menu .= "<a ".$menu_tags." style='padding: 0px 0px; border-style: none; background: none;'><h2 align='center' style=''>".$menu_item_title."</h2></a>\n";
}
}
}
}

View File

@ -77,4 +77,5 @@ require_once "resources/require.php";
//testing
//echo $_SESSION["menu"];
?>
?>

View File

@ -384,6 +384,7 @@ table tr:last-child td:last-child {
}
#menu h2 {
color:#FFFFFF;
align: left;
/*text-transform:uppercase*/
}

View File

@ -368,6 +368,7 @@ table tr:nth-last-child(-5) td:first-of-type {
}
#menu h2{
color:#FFFFFF;
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
/*text-transform:uppercase*/
width:118px;

View File

@ -428,6 +428,7 @@ table tr:nth-last-child(-5) td:first-of-type {
}
#menu h2{
color:#FFFFFF;
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
/*text-transform:uppercase*/
width:118px;

View File

@ -623,6 +623,7 @@ legend {
}
#menu h2{
color:#FFFFFF;
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
/*text-transform:uppercase*/
<?php

View File

@ -632,6 +632,7 @@ legend {
}
#menu h2{
color:#FFFFFF;
font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
font-weight: normal;
font-size: 12pt;