Fix the main menu color.
This commit is contained in:
parent
fa1b0bc203
commit
9cb5bbec4b
|
|
@ -494,11 +494,16 @@
|
||||||
if ($field['menu_item_link'] == "/login.php" || $field['menu_item_link'] == "/users/signup.php") {
|
if ($field['menu_item_link'] == "/login.php" || $field['menu_item_link'] == "/users/signup.php") {
|
||||||
//hide login and sign-up when the user is logged in
|
//hide login and sign-up when the user is logged in
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if (strlen($field['menu_item_link']) == 0) {
|
||||||
|
$db_menu .= "<h2 align='center' style=''>".$menu_item_title."</h2>\n";
|
||||||
|
}
|
||||||
else {
|
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";
|
$db_menu .= "<a ".$menu_tags." style='padding: 0px 0px; border-style: none; background: none;'><h2 align='center' style=''>".$menu_item_title."</h2></a>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$menu_item_level = 0;
|
$menu_item_level = 0;
|
||||||
if (strlen($field['menu_item_uuid']) > 0) {
|
if (strlen($field['menu_item_uuid']) > 0) {
|
||||||
|
|
|
||||||
|
|
@ -77,4 +77,5 @@ require_once "resources/require.php";
|
||||||
|
|
||||||
//testing
|
//testing
|
||||||
//echo $_SESSION["menu"];
|
//echo $_SESSION["menu"];
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
@ -384,6 +384,7 @@ table tr:last-child td:last-child {
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu h2 {
|
#menu h2 {
|
||||||
|
color:#FFFFFF;
|
||||||
align: left;
|
align: left;
|
||||||
/*text-transform:uppercase*/
|
/*text-transform:uppercase*/
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -368,6 +368,7 @@ table tr:nth-last-child(-5) td:first-of-type {
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu h2{
|
#menu h2{
|
||||||
|
color:#FFFFFF;
|
||||||
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
|
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
|
||||||
/*text-transform:uppercase*/
|
/*text-transform:uppercase*/
|
||||||
width:118px;
|
width:118px;
|
||||||
|
|
|
||||||
|
|
@ -428,6 +428,7 @@ table tr:nth-last-child(-5) td:first-of-type {
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu h2{
|
#menu h2{
|
||||||
|
color:#FFFFFF;
|
||||||
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
|
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
|
||||||
/*text-transform:uppercase*/
|
/*text-transform:uppercase*/
|
||||||
width:118px;
|
width:118px;
|
||||||
|
|
|
||||||
|
|
@ -623,6 +623,7 @@ legend {
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu h2{
|
#menu h2{
|
||||||
|
color:#FFFFFF;
|
||||||
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
|
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
|
||||||
/*text-transform:uppercase*/
|
/*text-transform:uppercase*/
|
||||||
<?php
|
<?php
|
||||||
|
|
|
||||||
|
|
@ -632,6 +632,7 @@ legend {
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu h2{
|
#menu h2{
|
||||||
|
color:#FFFFFF;
|
||||||
font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
|
font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue