Update the menu to accommodate multi-lingual menu titles that were too wide to fit on the menu background.
This commit is contained in:
parent
604517b605
commit
84c07b801c
|
|
@ -464,7 +464,20 @@ table tr:nth-last-child(-5) td:first-of-type {
|
|||
#menu h2{
|
||||
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
|
||||
/*text-transform:uppercase*/
|
||||
width:118px;
|
||||
<?php
|
||||
if ($_SESSION['domain']['language']['code'] == "en-us") {
|
||||
echo "width:125px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "es-cl") {
|
||||
echo "width:175px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "fr-fr") {
|
||||
echo "width:140px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "pt-pt") {
|
||||
echo "width:175px;\n";
|
||||
}
|
||||
?>
|
||||
}
|
||||
|
||||
#menu h2 h2{
|
||||
|
|
@ -491,7 +504,20 @@ table tr:nth-last-child(-5) td:first-of-type {
|
|||
#menu .menu_sub {
|
||||
display:none;
|
||||
padding-top:10px;
|
||||
width:124px;
|
||||
<?php
|
||||
if ($_SESSION['domain']['language']['code'] == "en-us") {
|
||||
echo "width:125px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "es-cl") {
|
||||
echo "width:175px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "fr-fr") {
|
||||
echo "width:140px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "pt-pt") {
|
||||
echo "width:175px;\n";
|
||||
}
|
||||
?>
|
||||
background:#333333;
|
||||
background-color: rgba(20, 20, 20, 0.9);
|
||||
-webkit-border-radius: 0px 0px 3px 3px;
|
||||
|
|
|
|||
|
|
@ -436,7 +436,20 @@ table tr:nth-last-child(-5) td:first-of-type {
|
|||
#menu h2{
|
||||
/*background:#222222 url(<!--{project_path}-->/css/images/expand3.gif) no-repeat 100% 100%;*/
|
||||
/*text-transform:uppercase*/
|
||||
width:118px;
|
||||
<?php
|
||||
if ($_SESSION['domain']['language']['code'] == "en-us") {
|
||||
echo "width:125px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "es-cl") {
|
||||
echo "width:175px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "fr-fr") {
|
||||
echo "width:140px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "pt-pt") {
|
||||
echo "width:175px;\n";
|
||||
}
|
||||
?>
|
||||
}
|
||||
|
||||
#menu h2 h2{
|
||||
|
|
@ -463,7 +476,20 @@ table tr:nth-last-child(-5) td:first-of-type {
|
|||
#menu .menu_sub {
|
||||
display:none;
|
||||
padding-top:10px;
|
||||
width:124px;
|
||||
<?php
|
||||
if ($_SESSION['domain']['language']['code'] == "en-us") {
|
||||
echo "width:125px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "es-cl") {
|
||||
echo "width:175px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "fr-fr") {
|
||||
echo "width:140px;\n";
|
||||
}
|
||||
if ($_SESSION['domain']['language']['code'] == "pt-pt") {
|
||||
echo "width:175px;\n";
|
||||
}
|
||||
?>
|
||||
background:#333333;
|
||||
background-color: rgba(20, 20, 20, 0.9);
|
||||
-webkit-border-radius: 0px 0px 12px 12px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue