[resolved] Nav/top menu ID for use in CSS file (6 posts)

  1. Shr.Khr
    Posted 2 years ago #

    below is the markup for my nav-menu items as seen through Firebug.
    So, what is the ID for my menu items that I can reference/use in my CSS file?

    <div class="nav-menu">
      <li class="current_page_item">
      <li class="page_item page-item-2">
      <li class="page_item page-item-341">
      <li class="page_item page-item-353">
      <li class="page_item page-item-357">
      <li class="page_item page-item-361">

    Thanks in advance for any help.

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    It's right there: "page-item-xxx" . Depending on what the rest of your CSS is and what you are trying to do, something like this:

    li.page-item-XXX {
  3. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Didn't notice your other thread before posting the above, but if this is the same question as this one:

    Please do not create duplicate threads on these forums.

  4. Shr.Khr
    Posted 2 years ago #

    Certainly don't want to create duplicate threads; just seemed to me like we are dealing with slightly different issues.

  5. Andrew
    Forum moderator
    Posted 2 years ago #

    Have you resolved this thread's issue?

  6. Shr.Khr
    Posted 2 years ago #

    Thanks all, this issue is resolved!

Topic Closed

This topic has been closed to new replies.

About this Topic