Forums

collapsing pages indenting list problems (1 post)

  1. donnytree
    Member
    Posted 1 year ago #

    I am so close to getting this plugin to work for me, the only problem I am having is that the plugin seems to put the same class on all of the navigation lists so I can't specify indentation for lists within lists.

    Mainly, I changed the code so that it only displays subnavigation in the top level page:

    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar') ) {
        $options = array('inExcludePage' => 'include','inExcludePages'  => $parent, 'sort' => 'pageId');
        collapsPage($options);
    }

    The indentation of everything except the top level parent list item needs to be shifted over to the left about 10px. I can't seem to shift the nested list(s) without shifting everything. The only distinction there seems to be between my top level list item and all of the rest of the nested lists is #collapsPage-nn, but the numbers at the end make it impossible for me to apply CSS to all of them - I think.

    Any help would be much appreciated.

    I hope this makes sense, and thank you in advance,
    Donna

Topic Closed

This topic has been closed to new replies.

About this Topic