First list order link, no list style (3 posts)

  1. craig-mac
    Posted 3 years ago #

    I am using the below php code to call in a list order of child pages. However I am trying to get the first link to not show the list style (no bullet). I realize in standard html I can specify a different class, but since I am using php code, I don't know how to specify the first child to not display my list style.

      <?php echo $children; ?>
  2. zartgesotten
    Posted 3 years ago #

    Hi craig,
    check out the first-child selector. That should do it. But only for current browsers of course ;-)

  3. craig-mac
    Posted 3 years ago #

    Thanks, that was it!

Topic Closed

This topic has been closed to new replies.

About this Topic