Support » Fixing WordPress » List_pages issue

  • Resolved mitchrenton


    I’m looking to use sIFR text replacement for my navigation and think it would be far easier if I could list the pages as h3 instead of li. Is there an easy way to do this? I’ve tried a few times but the code i’ve used doesn’t work.

    Any help?

Viewing 1 replies (of 1 total)
  • Hello,

    I was trying to include sIFR 3 in a dropdown navigation as well, and had the same problem.

    My solution is to declare sFIR to the individual page-item classes for every nav item…

    When I declare sFIR to be used for:
    ul#dropmenu a
    (page-item-5 is a nav item with a dropdown)
    All the links in the dropdown get hidden by sFIR!

    The problem was that sFIR adds a
    .sIFR-active ul#dropmenu a { visibility:hidden; }
    And this will make all a links below the first a hidden!

    To fix this just add:
    .sIFR-active ul#dropmenu li ul li a { visibility:visible; }
    To the bottom of your CSS file, this makes all li items below another li item visible again.

    So now you can use sIFR for the main nav items and still use Multi-level Navigation!

    EXAMPLE (my code in WordPress for the WP sIFR plugin):
    ul#dropmenu a, ul#dropmenu a, ul#dropmenu a, ul#dropmenu a, ul#dropmenu a, ul#dropmenu a

    Extra code below my style.css:
    .sIFR-active ul#dropmenu li ul li a {visibility: visible;}

Viewing 1 replies (of 1 total)
  • The topic ‘List_pages issue’ is closed to new replies.