Hi,

Great module. I'm glad you put it online.

I am having a problem. My drop-down menus are all huge. I can see that .span12 has a width of 940px in CSS. It looks like .row-fluid will override that for nicer sized dropdowns, but for some reason it's not applied to my front end block. I can see .row-fluid on the row div in the backend when configuring the menu, but when I view the front end, it's ".tb-megamenu-row" instead of ".row-fluid" on the parent class.

Any ideas why I'd get one instead of the other on front vs. back end? It is making my front end menu look way too wide.

thanks.

Comments

tmsimont’s picture

Category: support » bug

oh i see...

<div <?php print $attributes;?> class="row-fluid">
  <?php print $columns;?>
</div>

You can't put print $attributes; right next to a hard-set class definition in a template, because $attributes can contain a "class =" statement.

You'll have to put row-fluid into the $attributes array in the theme preprocess.. not sure where that is

(I think it's generally good practice to put a @see in php comments on template files)

tmsimont’s picture

sorry that code is coming from tb-megamenu-row.tpl.php

tmsimont’s picture

Title: Configuration of menu block » hard-coded class attribute breaking proper class assignment of row
Status: Active » Needs review
StatusFileSize
new1.22 KB

patch attached

tmsimont’s picture

(also, that patch is on master because it seems like your repo isn't set up to work from 7.x-1.x. try changing that setting here: https://drupal.org/project/tb_megamenu/git-instructions)

themebrain’s picture

Dear tmsimont,

Thank you for your comments and sorry for late reply. Our tech team has been noticed and they are going to fix the bug, you can expect the beta release next week.

Also I'd like to express my gratitude to your enthusiasm, please drop me an email at help@themebrain.com so I can send you a coupon of discount for our products.

Cheers!

themebrain’s picture

Hey Trevor,

Again, this bug has been fixed in our updated version. Check it out and let us know if you have any other problems.

Cheers.

hai nguyen’s picture

Version: 7.x-1.x-dev » 7.x-1.0-alpha3
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.