Update the superfish menu styling please. After you update to Superfish 7.x-1.9 the styling for the menu bar completely doesn't work. It looks real bad, I had to assign my menu to a default superfish style until this issue is resolved and the styling is updated for the new superfish update. Also I had to move it from the menu bar to the header since the new menu overlaps.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | sirate.zip | 1.2 KB | themebrain |
Comments
Comment #1
tomicdusan commentedThe main reason is (at least i found to be so) is that menu list has additional (different) class than they on the demo page:
This is mine:
<ul id="superfish-1" class="menu sf-menu sf-main-menu sf-horizontal sf-style-sirate sf-total-items-7 sf-parent-items-1 sf-single-items-6 superfish-processed sf-js-enabled sf-shadow" style="">This is theirs:
<ul id="superfish-1" class="sf-menu main-menu sf-horizontal sf-style-sirate sf-total-items-7 sf-parent-items-3 sf-single-items-4 sf-js-enabled sf-shadow"><li id="menu-207-1" class="first odd sf-item-1 sf-depth-1 sf-no-children">So if you look closely mine has 'menu sf-main-menu superfish-processed' adn theirs has 'main-menu' (without 'menu' and 'superfish-processed'). When i remove 'menu' class using develper tools on chrome the menu looks as it should, but since im novice at drupal I have no idea where could i change those classes not to appear... any hints?
Comment #2
tomicdusan commentedFound the workaround:
Open : sites/all/modules/superfish/superfish.module
Replace Line 1606 with:
$output['content'] .= ' class="sf-menu ' . $menu_name . ' sf-' . $sfsettings['type'] . ' sf-style-' . $sfsettings['style'];Here is the bug reported:
http://drupal.org/node/1906896
Comment #3
themebrain commentedHere is a quick fix for the issue with Superfish module 7.x-1.9:
* Extract the attached file sirate.zip
* Go to the folder sites/all/themes/tb_sirate/css/superfish on your host
* Replace the sirate.css by the one in the attached file.
Moreover, this fix will be included to the theme in the next upgrade.
Comment #4
ckoharj commentedWill this same fix also work on TB Purity and TB Simply templates? The superfish 1.9 does not work with those themes either.
Thanks
Comment #5
sumit-k commentedAfter updating superfish module , superfish 7.x-1.9 is not working for custom theme , it is working for bartik and other theme.
7.x beta is working fine for every theme.
How can i solve that problem?
Thanks in advance for any help.