Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

SSI Menubar

Aloittaja Jamora1124, heinäkuu 22, 2013, 12:03:09 IP

« edellinen - seuraava »

Jamora1124

Okay, call me crazy but I thought the point of dropmenu's were to drop?

I'm using the ssi example <?php ssi_menubar(); ?> to create a menu bar on my website; styling it in a similar fashion to the forum. However, for some reason, the menu bar doesn't drop to show the other options. I don't know if it's suppose to do that or not, but it's pretty useless if it cannot drop the entire menu.

Here is a link to my page: rpgforumtest.freeiz.com/rpgc.php

IchBin™

The div that the main menu is contained in has overflow hidden set on it. If you take that out, the drop menu will show. You'll need to tweak your code a bit to get exactly what you're looking for.
IchBin™        TinyPortal

Jamora1124

I don't think it's that div. I think it may be smf in general. My menubar is working fine on my main site, and when I changed the theme of that one page the menubar still wasn't there. I also checked the stylesheets of my theme and the Curve theme that I based my own theme off of and I couldn't find anything  with overflow on them. I don't get it, if it works on the main page, why doesn't it work on my own page?

IchBin™

If I use firebug in firefox, or web developer in chrome and disable the overflow: hidden in the containing div, the menu displays just fine on your site.
IchBin™        TinyPortal

Jamora1124

#4
Then I guess I'm messing around with the wrong div because I don't see anything wrong with #main_menu or the .dropmenu and it's children. #main_menu is the div that holds the menubar, right?

EDIT/

Found the problem. It wasn't in the #main_menu, it was in the #upper_section.

EDIT2/

Weird, when I only edit the #upper_section, it doesn't take stop it, but when I take out a bunch of overflow:hiddens, it does.

Advertisement: