From 84c07b801cd79f7361e04bc4ca49bc18ca8dcf06 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 19 Mar 2014 05:48:04 +0000 Subject: [PATCH] Update the menu to accommodate multi-lingual menu titles that were too wide to fit on the menu background. --- themes/enhanced/template.php | 30 ++++++++++++++++++++++++++++-- themes/nature/template.php | 30 ++++++++++++++++++++++++++++-- 2 files changed, 56 insertions(+), 4 deletions(-) diff --git a/themes/enhanced/template.php b/themes/enhanced/template.php index 870a97d6da..552742df44 100644 --- a/themes/enhanced/template.php +++ b/themes/enhanced/template.php @@ -464,7 +464,20 @@ table tr:nth-last-child(-5) td:first-of-type { #menu h2{ /*background:#222222 url(/css/images/expand3.gif) no-repeat 100% 100%;*/ /*text-transform:uppercase*/ - width:118px; + } #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; + background:#333333; background-color: rgba(20, 20, 20, 0.9); -webkit-border-radius: 0px 0px 3px 3px; diff --git a/themes/nature/template.php b/themes/nature/template.php index 2c3135555e..9d1137c148 100644 --- a/themes/nature/template.php +++ b/themes/nature/template.php @@ -436,7 +436,20 @@ table tr:nth-last-child(-5) td:first-of-type { #menu h2{ /*background:#222222 url(/css/images/expand3.gif) no-repeat 100% 100%;*/ /*text-transform:uppercase*/ - width:118px; + } #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; + background:#333333; background-color: rgba(20, 20, 20, 0.9); -webkit-border-radius: 0px 0px 12px 12px;