Page Tabs + Parent/Child Page - Please Help! (3 posts)

  1. naomimckenna
    Posted 7 years ago #

    I am trying to make a drop-down menu for pages ie. the tabs on the top of the page - with the parent page showing 5 or 6 sub-pages. For some reason even when I register this, the menu is coming up horizontally and looks like a jumbled mess. Any ideas on how to make it a drop down!? Maybe I'm missing something really obvious? Thanks!

  2. stvwlf
    Posted 7 years ago #

    dropdowns are all about the CSS, and the CSS is tricky. If you are not comfortable trying to fix it, you are much better off using a theme that already has dropdowns built in.

    If you really want to adapt dropdowns to the theme you are working on, my suggestion is find a theme that already has dropdowns in it, and study how the CSS is being applied.

    Having said that, the short answer to your question is its quite likely that "display: inline" is (correctly) being applied to the horizontal top-level LI tags. The second level LI tags that are to be vertical need to be styled as "display: block"

  3. naomimckenna
    Posted 7 years ago #

    Thank you for responding so quickly! That definately helps clear things up and I was going about that all wrong. I will look into the CSS now and see what I can re-format and if not will just have to pay someone else to do it..this probably doesn't classify as one of my skills! Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic