Ready to get started?Download WordPress


CSS menu question - different styling on sublevels possible? (3 posts)

  1. pullman
    Posted 2 years ago #

    Hi all

    On http://philipus.com I have a CSS menu in the footer which has submenus connected to the Galleries and Wallpapers links which are displayed above these links.

    I have trouble centering the items in the two sub-menus. You'll see that the items in the Galleries sub-menu should be a bit to the left. And the items in the Wallpapers sub-menu should be a lot to the right.

    I thought I could, perhaps, define classes for each sub-menu and then style each class with margins, padding etc so that the sub-menus' items appear more horizontally centered.

    Is this possible at all for two submenus which are on the same level? And if so, how can I do it?

    Is there some other way to center the items in the submenus?

    Thanks in advance for your help

  2. Jason (Theme Blvd)
    Posted 2 years ago #

  3. pullman
    Posted 2 years ago #

    Thanks Jason. Yes this helps a lot! The first level of the menu is now centered.

    But I am not able to center also the second level, ie the horizontal "pop up" menus above the Galleries and Wallpapers links.

    Any ideas on how to fix that? I tried wrapping those tables in divs as well but that had no effect.

    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.