Hallo,
ich benutze das Theme Grey-Matter und habe mit dem Plugin Fold Page List ein Manu in den Header eingefügt.
Code:
<ul id="dropmenu">
<li class="page_item<?php if (is_home()) {echo ' current_page_item';} ?>"><a href="<?php echo get_settings('home'); ?>" title="<?php bloginfo('name'); ?>"><?php _e('Home','emerald_stretch'); ?></a></li>
<!--<?php wp_list_pages('sort_column=menu_order&title_li='); ?>-->
<?php wswwpx_fold_page_list ('title_li=Inhalt&sort_column=menu_order', $arglist, $fullunfold); ?>
</ul>
Ich benutzte keine Widgets. Das Menü entfaltet sich nach rechts und damit aus dem Fenster (scrollen wird notwendig).
Ich würde gerne die Richtung verändern, so dass sich dass Menu nach links aufklappt, in das Fenster hinein.
Leider ist die Seite noch nicht online. Da ich WP-Anfänger bin, weiß ich nicht, welchen Code Ihr evt. noch aus der css für eine Hilfe benötigt.
:oops: Ich vermute mal:
/* Drop-down menus */
#dropmenu, #dropmenu ul {
margin:110;
padding:0;
list-style-type:none;
list-style-position:outside;
position:relative;
z-index:300;
width:100%;
}
#dropmenu a {
display:block;
/*padding:0.25em 1em;*/
text-decoration:none;
}
#dropmenu a:hover {
color:#fff;
}
#dropmenu li {
float:left;
position:relative;
}
#dropmenu ul {
position:absolute;
display:none;
width:10em; /*auto*/
top:1.9em;
border:1px solid #747474;
}
#dropmenu ul a {
}
#dropmenu li ul {
width:10em;
float:left;
top:auto;
background:#7A7A7A;
}
#dropmenu li ul a {
width: 8.9em;
/*height: auto;*/
float: left;
text-align: left;
}
/* Sub-menu */
#dropmenu ul ul {
top:auto;
}
#dropmenu li ul ul {
float: left;
left: 10em;
margin: 0;
}
#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}
/* Drop-down menus */
Wo und wie kann ich die "Aufklapp-Richtung" des Menus verändern?
Herzlichen Dank für Eure Hilfe
Greg
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!