Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS wordpress menu ul class=”

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #41034
    realife
    Member

    That’s driving me crazy, i couldn’t find on the web the solution,
    Can someone help me please and tell me

    I’m using this code on wordpress to load the menu:
    ‘header-menu’ ) ); ?>

    How do i define the ul class? for example:

      #115856
      chrisburton
      Participant

      @realife You might have to change this a little bit.

      ‘header-menu’, ‘container’ => ”, ‘items_wrap’ => ‘

        %3$s

      ‘ )); ?>

      #115857
      realife
      Member

      Still it’s not working… :(
      Maybe I’m missing something in the functions.php?

      That’s weird, nobody did it before?

      #115862
      chrisburton
      Participant

      @realife Are you using a custom menu?

      #115864
      realife
      Member

      Yes

      #115870
      chrisburton
      Participant

      @realife All right. What is the name of your custom menu? Mine is “Main”. Just replace that with yours and it should work.

      ‘Main’, ‘container’ => ”, ‘items_wrap’ => ‘

        %3$s

      ‘ )); ?>

      Show me what this outputs after you replace the name.

      #115770
      realife
      Member

      OK, you are crazy
      It’s working… Thanks a lot ! =)

      #115871
      chrisburton
      Participant

      No problem.

    Viewing 8 posts - 1 through 8 (of 8 total)
    • The forum ‘CSS’ is closed to new topics and replies.