Uridimmu Theme - can't find the menu items anywhere (5 posts)

  1. callmeveev
    Posted 3 years ago #

    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 ]

  2. Thiago Senna
    Theme Author

    Posted 3 years ago #


    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'.


  3. callmeveev
    Posted 3 years ago #

    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?

  4. Thiago Senna
    Theme Author

    Posted 3 years ago #

    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 :)

  5. callmeveev
    Posted 3 years ago #

    Great! Thanks a ton.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic