Archived topic
Submenu width
32 replies · Started by Johan Falkbrink on January 18, 2015
You're welcome :)
Hi there,
I have a problem with the wight of the submenu, too.
I'm a beginner... sorry please speak easy! :D
I have istalled "Simple CSS" and add:
.secondary-navigation ul ul {
width: 400px;
}
But nothing changed.
I tried also:
}
.secondary-navigation ul ul {
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
display: none;
float: left;
position: absolute;
top: 1.5em;
left: 0;
z-index: 99999;
width:400px;
text-align:left;
}
But nothing changed, too.
Please help me! :D
Hi there,
The first block should work for your secondary navigation.
Can you link me to your site so I can take a look?
Thanks!
Ohhh sorry, it works now! I saw it after answer your post! :D
Thank you again, and a happy new year!
Glad it's working. Happy New Year! :)
Hey!
I have a problem again...
On my website (http://www.backpackerlife.de/) you see in the menu, that "Weltwunder (2/22)" have the hover and not the normal color, black, of the menu.
I don't know why. Maybe you can help me?
Best regards,
Till
WordPress is seeing that menu item as the current page, so that grey is the current menu item color.
Okay, thx for your fast answer. But how can I change it? I tried everthing, but I have not really an idea, where is the mistake.
It depends on your page/menu set up. It seems all of those menu items (sub-menu items included) are linking to the homepage?
Hello,
I know it's a subject from a year ago but I do not want to put on a new topic.
When I want to change the width of the menu and change the options in CSS, the width is the same. As in the picture.

Link to site: http://www.geomal.pl
Can you help me with that? :)
Have you tried the CSS provided earlier in this topic?: https://generatepress.com/forums/topic/submenu-width/#post-66530
Yes - unfortunately this solution is not working :(
@Update - ok right now is working - thanks!
Ok one more question - can I change the position of the menu? I woudl like to have sub menu in the container.

http://images.tinypic.pl/i/00887/p2kbts04tjqk.png
I woudl like to have this effect:

Any chance you can open up a new topic with your question?
Thanks! :)
Hi,
I am also trying to widen the drop down menu so text is on one line and not split as shown in pablo's picture.
I used the code you suggested:
.secondary-navigation ul ul {
width: 250px;
}
However, it did not work for me. Can you assist?
Thanks