Pixopoint Menü - Multi Navigation - folgendes möglich?

  • Hallo,

    ich mal wieder. Ich brauche folgende Antwort zu dem PixoPoint Multi Navigation menü:

    Nachdem mein Elternelement per Maus angesteuert wird (hover), öffnet sich das Submenü. Ich möchte gerne, dass das Submenü nicht wieder geschlossen wird, sondern automatisch stehen bleibt. Und zwar solange, bis ich über ein anderes Menü gehe, und dort ein neues Submenü auswähle.

    Wo kann ich/muss ich das einstellen? Ich freue mich auf Hilfe.

    Bitte beachtet auch meine anderen Threads zum Thema verschiedene Backgroundvideos: http://forum.wordpress-deutschland.org/design/70519-u…s-je-seite.html

    Grüße,
    Flatter

    Einmal editiert, zuletzt von Flattersatz (1. Juni 2010 um 11:22)

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • Hi,

    das Thema habe ich dann doch anders gelöst: nämlich so:

    PHP
    <?php wp_list_pages('sort_list=menu_order&depth=1&exclude=26,27,28,29,,76,74&title_li='); ?><br/><br/><div class="submenu"><?php
    $children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');
    if ($children) { ?>
    <ul>
    <?php echo $children; ?>
    </ul></div>
    <?php } ?> </div>

    Das einzige was jetzt momentan gar nicht wirklich gut funktionier ist das Blocken der CSS Vererbung.

    Das Menü soll so aussehen:

    STADT LAND [COLOR=RoyalBlue]FLUSS [/COLOR]DORF
    [COLOR=RoyalBlue]NAMEN NATUR HÄUSER[/COLOR]

    Wie man es entsprechend kennt, sollte der FLUSS ein current_page_parent bekommen. Leider scheint das nicht zu klappen, denn ich habe für alle vier Hauptnavi Punkte entsprechende Klassen angelegt:

    Also so:

    Code
    .page-item-4    a:link        {color:white;font-family:Tahoma;text-decoration:none;text-transform:uppercase;width:122px;height:41px;background: url(images/navi-about-off.png) no-repeat;float:left;display:block;margin-right:10px;margin-left:4px;outline-style: none;font-size:0.75em;font-style:Tahoma;font-weight:normal;text-decoration:none;text-transform:uppercase;padding:12px 0 0 0;text-align:center;}
    .page-item-4    a:active    {color:white;font-family:Tahoma;text-decoration:none;text-transform:uppercase;width:122px;height:41px;background: url(images/navi-about-off.png) no-repeat;float:left;display:block;margin-right:10px;margin-left:4px;outline-style: none;font-size:0.75em;font-style:Tahoma;font-weight:normal;text-decoration:none;text-transform:uppercase;padding:12px 0 0 0;text-align:center;}
    .page-item-4    a:visited    {color:white;font-family:Tahoma;text-decoration:none;text-transform:uppercase;width:122px;height:41px;background: url(images/navi-about-off.png) no-repeat;float:left;display:block;margin-right:10px;margin-left:4px;outline-style: none;font-size:0.75em;font-style:Tahoma;font-weight:normal;text-decoration:none;text-transform:uppercase;padding:12px 0 0 0;text-align:center;}
    .page-item-4    a:hover        {color:white;font-family:Tahoma;text-decoration:none;text-transform:uppercase;width:122px;height:41px;background: url(images/navi-about-on.png) no-repeat;float:left;display:block;margin-right:10px;margin-left:4px;outline-style: none;font-size:0.75em;font-style:Tahoma;font-weight:normal;text-decoration:none;text-transform:uppercase;padding:12px 0 0 0;text-align:center;}
    .current_page_item-4 {width:123px;height:28px;background: url(images/navi-about-active.png) no-repeat;float:left;display:block;margin-right:5px;margin-left:5px;outline-style: none;text-align:center;}
    .current_page_parent     {font-family:Tahoma;font-weight:normal;width:123px;height:21px;background: url(images/navi-about-active.png) no-repeat;float:left;display:block;margin-right:5px;margin-left:5px;outline-style: none;font-size:0.75em;text-decoration:none;text-transform:uppercase;padding:11px 0 0 0;text-align:center;}

    Es greift ausschließlich die current page item, und das anstelle für das Elternelement greift das nur für die child elemente. Das Parent element an sich, also .current_page_parent funktioniert nicht.

    Weiss jemand einen Rat?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!