Forums

need a page specific query command (3 posts)

  1. lindsayynoble
    Member
    Posted 1 year ago #

    Hi there,

    I have 5 pages on my site - one of which (services) has sub pages and therefore a sub-nav bar. I am trying to give that subnav more space below on the pages it appears, so I think I need an 'if' query to tell wordpress if its on sidebar/sidebar as ancestor page, then add 10px padding to top of container div.

    Is it possible to write this php in somewhere?

    Thanks very much for your time and help,

    Lindsay

    http://natureforthecommunity.co.uk/

  2. lindsayynoble
    Member
    Posted 1 year ago #

    Also - just a quick extra one, when you are on one fo the child-of-services pages, the hover attribute from css doesnt seem to work on the nav bars. Is there a simple reason they don't chnage colour when hovered over? (although they still underline in the correct colour)

    thanks again... always appreciative of the web-community's support

    lindsay

  3. Chip Bennett
    Member
    Posted 1 year ago #

    Have you taken a look at TwentyTen, to see how it styles its Navigation Menu to handle nested menus (sub-Pages)?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags