Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having the same problem as Moshu.

    When a Page is selected, all it’s child pages are styled the same as the Page. I guess they are inheriting the current_page_item class from the li of the parent page.

    You can see it here: https://www.kenthealth.com
    Pages are in the sidebar under the heading ‘Look Around’.

    Here’s the CSS I’m using, per the suggestion of jcdesign and alphaoide, but it doesn’t work:

    .current_page_item a,
    .current_page_item a:visited,
    .current_page_item a:hover {
    color: #f00;
    font-weight: bold;
    }

    .current_page_item ul {
    color: #000;
    font-weight: normal;
    }

    Any suggestions? Thanks a lot.

    Thread Starter ejkent

    (@ejkent)

    I agree with you the RSS feed would be better, but at this point I’m stuck using what we’ve got. They claim the RSS feed has a bunch of extra stuff in it that needs to be stripped out, so it’s easier to grab directly from the database. Would like to recode the get_permalink function… where is it located so we can reverse engineer? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)