News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

[Tip/Trick] Center Nav Menu Bar (1.x and 2.x)

Started by Yigal, August 04, 2009, 02:30:32 AM

Previous topic - Next topic

Yigal

Yigal V.
Contact me by PM


do yourself a favour and not annoy support helpers by spamming or messaging for support
1.x Support | 2.x Support | 5Mods

mulwa

please these codes are not working on smf 2.0.6

busterone


mulwa

thank you for the link you have provided. But unfortunately it's not working on Mytheme2, though the mod was successfully installed without any error on the theme, but the nav menu wasn't centered. Please i need help! Thank you

CrimeS

It won't work on customised themes that have changed menu structure ;)

Antechinus

The same general principle will probably work (ie: using relative positioning tricks) but the CSS would have to be adapted to some degree (class names and id's, or whatever).

CrimeS

Yes, the class names and id's under the template_menu() would need to be adapted.

Advertisement: