Superfishproblems in theme "Destyle"

Permalink
I have installed the free theme "Destyle".

But the menu is not working right, and I had tryed to installe superfish again but with no luck.

ANYONE have an idea how to fix it?

Have a look:
demo.vingen.org

Thanks

 
12345j replied on at Permalink Reply
12345j
The problem is that Destyle already has a superfish dropdown menu built in. If you don't use superfish it should work fine. Nice site btw.
ramsgaard replied on at Permalink Reply
thanks. It have ben a problem since i first installet it. (I just installed superfish again, to see i that worked)

Is it in the destyle/superfish/superfish.css
or destyle/style.css the horizontal floating problem should be fixed??
12345j replied on at Permalink Best Answer Reply
12345j
If you stop Destyle from loading the custom template that should work fine. Go to root/packages/theme_Destyle/themes/Destyle/elements and look for this this code
                     <?php 
                                $bt = BlockType::getByHandle('autonav');
                                $bt->controller->displayPages = 'top';
                                $bt->controller->orderBy = 'display_asc';                    
                                $bt->controller->displaySubPages = 'all'; 
                                $bt->controller->displaySubPageLevels = 'custom';
                                $bt->controller->displaySubPageLevelsNum = '3';   
                                $bt->render('templates/header_menu_dropdown');
                        ?>

And replace it with
<?php
    $a = new Area('Header Nav');
    $a->display($c);
?>
12345j replied on at Permalink Reply
12345j
And also remove the link to superfish.css
ramsgaard replied on at Permalink Reply
:-(

Im too stupid... the only result I get is a blank or gone menu...

This is how u meant?:

<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" >
<head profile="http://gmpg.org/xfn/11">
<?php Loader::element('header_required'); ?>
<link rel="stylesheet" href="<?php echo $this->getThemePath()?>/style.css" type="text/css" media="screen" />
<link rel='stylesheet' id='superfish-css' href='<?php echo $this->getThemePath()?> type='text/css' media='all' />
</head>

<body class="noise grey">
<div id="wrapper">
<div id="main">
<div id="header-top-wrap">
<div class="ts-menu-top">
<div id="header-top">
<div id="social">
<a href="http://www.facebook.com/home.php?sk=group_123451217720971#" target="_blank" id="fb">Bliv medlem af gruppen &quot;Vingen&quot; på Facebook</a></div>
</div>
</div>
</div>
<div id="header" class="clearfix">

<div id="logo" class="clearfix">
<h1><a href="<?php echo DIR_REL?>/"><?php
$block = Block::getByName('My_Site_Name');
if( $block && $block->bID ) $block->display();
else echo SITE;
?></a></h1>
</div>

</div>

<div id="menu-wrap">

<div class="ts-menu-main">
<?php
$a = new Area('Header Nav');
$a->display($c);
?>
</div>
</div>

<div id="content-top"></div>

-----
By this code the menu is all gone :-(
12345j replied on at Permalink Reply
12345j
That's what I meant. You should be able to add he menu on edit lode though, right?
Ps use [code] tags
ramsgaard replied on at Permalink Reply
thanks, now its working...
:-) just the way you said
thanks
12345j replied on at Permalink Reply
12345j
no problem.
Hkofoed replied on at Permalink Reply
Apply the 'nav-header' class to the menu <ul> and then it should work