fold page list styling problem
-
Hi
I am using fold page list with the following code:
<?php $g_page_id = $wp_query->get_queried_object_id(); $ancestorIDs = _wswwpx_page_get_ancestor_ids($g_page_id); $grandParent = $ancestorIDs[1]; $my_pages = wswwpx_fold_page_list("title_li=&sort_column=menu_order&child_of=".$grandParent); ?>
It outputs the right stuff in the right place. The problem I am having is styling the
li class="page_item current_page_item"
which is the class given to the active page item. (as opposed to “page_item” which is applied to everything else.If I put in my stylesheet
li.page_item current_page_item a { color: #00A5EA; } li.page_item a {color: #FFFFFF; }
The page_item styling always overrides the current_page_item and everything is #FFFFFF.
This goes against all my css logic. Any ideas/workarounds?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘fold page list styling problem’ is closed to new replies.