Support » Theme: Uridimmu » Uridimmu Theme – can't find the menu items anywhere

  • Hi
    I have been struggling with Uridimmu.
    I can’t seem to find the
    <li> of the menu-primary items. Nowhere. In any of the phps.
    (I want to add | – pipe between them)
    Any help will be appriciated.

    [ mod: post html cleaned up. Please remember to use the code tags when putting code into a forum post ]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Thiago Senna

    (@trsenna)

    Hi,

    the primary menu is generated in template menu-primary.php. The menu items are displayed to the user just if you have some menu with items associated.

    I didn’t understand very well what Do you mean by ‘adding | pipe between them. Anyway, the
    <li> tags are generated by the WordPress function ‘wp_nav_menu’.

    http://codex.wordpress.org/Function_Reference/wp_nav_menu

    Thanks. What I meant by adding the sign pipe between the items was creating for example :
    About | Contact us | Company

    With no access to the list itself I could not do that.
    Do you have a solution how do i do that when the list is inside a php command?

    Theme Author Thiago Senna

    (@trsenna)

    This is something that you should do with css beside changing the theme templates.

    For example, I would add right borders of each menu item, something like:

    #menu-primary li a {
    border-right: 3px solid red;
    }

    This example is just and example, so you can play with it and others (background, margin, padding and others) until you have something next to wat you need.

    Another option is using the :after and content… I can’t test it right now, but would be something like this:

    #menu-primary li a:after {
    content: '|';
    }

    Did you get the idea? I’m sure that what you want would be done better with css beside changing php templates 🙂

    Great! Thanks a ton.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uridimmu Theme – can't find the menu items anywhere’ is closed to new replies.