Browse Source

#235464: simplemenu disappears when Zen theme is turned on

Roger López 16 years ago
parent
commit
a570618597
3 changed files with 2 additions and 4 deletions
  1. 2 2
      simplemenu.js
  2. 0 1
      themes/blackblue/blackblue.css
  3. 0 1
      themes/original/original.css

+ 2 - 2
simplemenu.js

@@ -8,7 +8,7 @@ $(document).ready(function() {
  	
   // get the element to add the menu to
   var element = Drupal.settings.simplemenu.element;
-  var menu = $(simplemenu).attr("id", "simplemenu");
+  var menu = $(simplemenu).attr("id", "simplemenu").addClass('clear-block');
 
   switch (Drupal.settings.simplemenu.placement) {
     case 'prepend':
@@ -23,7 +23,7 @@ $(document).ready(function() {
   }
 
   $('body').addClass('simplemenu-enabled');
-
+  
   var animation = {};
   animation[Drupal.settings.simplemenu.effect] = 'toggle';
   

+ 0 - 1
themes/blackblue/blackblue.css

@@ -7,7 +7,6 @@
 	width:100%;
 	z-index:9999;
 	text-align:left;
-	float: left;
 }
 #simplemenu a {
 	color:#fff;

+ 0 - 1
themes/original/original.css

@@ -8,7 +8,6 @@
 	width:100%;
 	z-index:9999;
 	text-align:left;
-	float: left;
 }
 #simplemenu a {
 	color:#333;