not able to implement CSS

Forums Forums Menus not able to implement CSS

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #336
    Anonymous
    Member

    I’ve generated a CSS that’s exactly what I want it to be, but I’m not quite sure about the the file were I should implement it. So far I’ve tried the style file from my theme, the index.php from suckerfish, but still, my multilevel won’t show? How do I solve this?

    #3440

    Login to WP > Settings > Multi-level Navigation > ‘Enter your CSS here’

    The CSS will then be outputted by the style.php file which comes with the ‘WP Multi-level Navigation Plugin’.

    #3540

    Login to WP > Settings > Multi-level Navigation > ‘Enter your CSS here’

    The CSS will then be outputted by the style.php file which comes with the ‘WP Multi-level Navigation Plugin’.

    #3441
    Anonymous
    Member

    I’m sorry to waste your time with that one.. I found the answer on another site.

    But another question: is there a maximum af toplevels? I can create 5 and then I lose the other (they appear behind my header photo)

    http://www.droeshaut.be if you wish to see it.

    Or is this due to my theme: blue box 01

    #3541
    Anonymous
    Member

    I’m sorry to waste your time with that one.. I found the answer on another site.

    But another question: is there a maximum af toplevels? I can create 5 and then I lose the other (they appear behind my header photo)

    http://www.droeshaut.be if you wish to see it.

    Or is this due to my theme: blue box 01

    #3442

    No, you should be able to have as many top level menu items as you like.

    However, your menu is only displaying five because you have many errors in the HTML.

    I’m assuming you are using the custom code option. You have invalid nesting of your list items which I assume is causing your problems.

    Below is an example of an error (I’ve chopped some code out to simplify):
    [code:3mr42fvs]
    <ul id="suckerfishnav">
    <li><a href=?page_id=10 "">Pluimvee</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a></li>
    <ul>
    <li><a href=?page_id=27 "">AZA</a></li>
    [/code:3mr42fvs]

    The AZA link is inside an unordered list, however that unordered list is not inside a list item, therefore will probably not render correctly and will cause all sorts of browser compatibiltiy issues.

    I assume you were probably trying to achieve something like the following …

    [code:3mr42fvs]
    <ul id="suckerfishnav">
    <li><a href=?page_id=10 "">Pluimvee</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a>
    <ul>
    <li><a href=?page_id=27 "">AZA</a></li>
    </ul>
    </li>
    [/code:3mr42fvs]

    The above would render ‘Pliumvee’ as the top level item. Then a dropdown would appear with ‘Opslag’, which when hovered over would show a flout with AZA in it. Your existing HTML seems to be ignoring the improperly nested list entirely in FF3, I’m not sure what other browsers would do, but probably not what you intended them to do.

    #3542

    No, you should be able to have as many top level menu items as you like.

    However, your menu is only displaying five because you have many errors in the HTML.

    I’m assuming you are using the custom code option. You have invalid nesting of your list items which I assume is causing your problems.

    Below is an example of an error (I’ve chopped some code out to simplify):
    [code:3mr42fvs]
    <ul id="suckerfishnav">
    <li><a href=?page_id=10 "">Pluimvee</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a></li>
    <ul>
    <li><a href=?page_id=27 "">AZA</a></li>
    [/code:3mr42fvs]

    The AZA link is inside an unordered list, however that unordered list is not inside a list item, therefore will probably not render correctly and will cause all sorts of browser compatibiltiy issues.

    I assume you were probably trying to achieve something like the following …

    [code:3mr42fvs]
    <ul id="suckerfishnav">
    <li><a href=?page_id=10 "">Pluimvee</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a>
    <ul>
    <li><a href=?page_id=27 "">AZA</a></li>
    </ul>
    </li>
    [/code:3mr42fvs]

    The above would render ‘Pliumvee’ as the top level item. Then a dropdown would appear with ‘Opslag’, which when hovered over would show a flout with AZA in it. Your existing HTML seems to be ignoring the improperly nested list entirely in FF3, I’m not sure what other browsers would do, but probably not what you intended them to do.

    #3443
    Anonymous
    Member

    I think I’m not really using the plugin the way I should. 
    So no: I’m not using the costom code mode, I’ve typed the code myself in the header file.

    Nevertheless, I thought I understood the errors you were talking about (some li tags were not properly closed) that the one I thought you were pointing at. But before, my menu was showing just the same, exactly the way i wanted it to show missing 2 toplevel items. After closing the tags the items are stil missing.

    #3543
    Anonymous
    Member

    I think I’m not really using the plugin the way I should. 
    So no: I’m not using the costom code mode, I’ve typed the code myself in the header file.

    Nevertheless, I thought I understood the errors you were talking about (some li tags were not properly closed) that the one I thought you were pointing at. But before, my menu was showing just the same, exactly the way i wanted it to show missing 2 toplevel items. After closing the tags the items are stil missing.

    #3444

    There is no problem with coding the menu directly into the theme. In fact I tend to do that myself.

    The custom code option is just there in the admin panel for those who find modifying their theme files confusing.

    Here is the code you have now:
    [code:3vo14bgd]<ul id="suckerfishnav">
    <li><a href=?page_id=22 "">Welkom</a></li>
    <li><a href=?page_id=10 "">Pluimvee</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a></li>
    <li><a href=?page_id=23 "">Toevoer</a></li>
    <li><a href=?page_id=24 "">Pansystemen</a>
    <ul>
    </li>
    <li><a href=?page_id=27 "">AZA</a></li>

    <li><a href=?page_id=28 "">Chore Time</a></li>
    </ul>
    <li><a href=?page_id=25 "">Drinksystemen</a></li>
    <li><a href=?page_id=30 "">Verwarming</a></li>
    <li><a href=?page_id=30 "">Ventilatie</a></li>
    <li><a href=?page_id=30 "">Elektro</a></li>
    <li><a href=?page_id=30 "">Legnesten</a></li>
    <li><a href=?page_id=30 "">Volière</a></li>
    <li><a href=?page_id=30 "">Milieu</a></li>

    <li><a href=?page_id=30 "">Ei-behandeling</a></li>
    <li><a href=?page_id=30 "">Weging/menging</a></li>
    </ul>
    <li><a href=?page_id=29 "">Varkens</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a></li>
    <li><a href=?page_id=30 "">Voedering</a></li>
    <li><a href=?page_id=30 "">Ventilatie</a></li>
    <li><a href=?page_id=30 "">Milieu</a></li>
    <li><a href=?page_id=30 "">Elektro</a></li>

    <li><a href=?page_id=30 "">Inrichting</a>
    <ul>
    <li><a href=?page_id=30 "">Biggen</a></li>
    <li><a href=?page_id=30 "">Vleesvarkens</a></li>
    <li><a href=?page_id=30 "">Zeugen</a></li>
    </ul>
    </li>
    </ul>
    <li><a href=?page_id=29 "">Rundvee</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a></li>

    <li><a href=?page_id=30 "">Transport</a></li>
    <li><a href=?page_id=30 "">Ventilatie</a></li>
    <li><a href=?page_id=30 "">Verlichting</a></li>
    </ul>
    <li><a href=?page_id=29 "">Andere</a>
    <ul>
    <li><a href=?page_id=30 "">Waterleiding</a></li>
    <li><a href=?page_id=30 "">Drinkbakken</a></li>
    <li><a href=?page_id=30 "">Voederbakken</a></li>
    <li><a href=?page_id=30 "">Industrieel transport</a></li>

    </ul>
    </ul>
    <li><a href=?page_id=2 "">Nieuws</a></li>
    <li><a href=?page_id=5 "">Contact</a></li>
    </ul>
    [/code:3vo14bgd]

    I think this is the code you are wanting:

    [code:3vo14bgd]
    <ul id="suckerfishnav">
    <li><a href="?page_id=22">Welkom</a></li>
    <li><a href="?page_id=10">Pluimvee</a>
    <ul>
    <li><a href="?page_id=11">Opslag</a></li>
    <li><a href="?page_id=23">Toevoer</a></li>
    <li><a href="?page_id=24">Pansystemen</a>
    <ul>
    <li><a href="?page_id=27">AZA</a></li>
    <li><a href="?page_id=28">Chore Time</a></li>
    </ul>
    </li>
    <li><a href="?page_id=25">Drinksystemen</a></li>
    <li><a href="?page_id=30">Verwarming</a></li>
    <li><a href="?page_id=30">Ventilatie</a></li>
    <li><a href="?page_id=30">Elektro</a></li>
    <li><a href="?page_id=30">Legnesten</a></li>
    <li><a href="?page_id=30">Volière</a></li>
    <li><a href="?page_id=30">Milieu</a></li>
    <li><a href="?page_id=30">Ei-behandeling</a></li>
    <li><a href="?page_id=30">Weging/menging</a></li>
    </ul>
    <li><a href="?page_id=29">Varkens</a>
    <ul>
    <li><a href="?page_id=11">Opslag</a></li>
    <li><a href="?page_id=30">Voedering</a></li>
    <li><a href="?page_id=30">Ventilatie</a></li>
    <li><a href="?page_id=30">Milieu</a></li>
    <li><a href="?page_id=30">Elektro</a></li>
    <li><a href="?page_id=30">Inrichting</a>
    <ul>
    <li><a href="?page_id=30">Biggen</a></li>
    <li><a href="?page_id=30">Vleesvarkens</a></li>
    <li><a href="?page_id=30">Zeugen</a></li>
    </ul>
    </li>
    </ul>
    <li><a href="?page_id=29">Rundvee</a>
    <ul>
    <li><a href="?page_id=11">Opslag</a></li>
    <li><a href="?page_id=30">Transport</a></li>
    <li><a href="?page_id=30">Ventilatie</a></li>
    <li><a href="?page_id=30">Verlichting</a></li>
    </ul>
    <li><a href="?page_id=29">Andere</a>
    <ul>
    <li><a href="?page_id=30">Waterleiding</a></li>
    <li><a href="?page_id=30">Drinkbakken</a></li>
    <li><a href="?page_id=30">Voederbakken</a></li>
    <li><a href="?page_id=30">Industrieel transport</a></li>
    </ul>
    </li>
    <li><a href="?page_id=2">Nieuws</a></li>
    <li><a href="?page_id=5">Contact</a></li>
    </ul>

    [/code:3vo14bgd]

    If you check your code validation periodically will show up the errors quite quickly. There are currently 133 errors on your home page according to the W3C validator … http://validator.w3.org/check?verbose=1 … haut.be%2F

    #3544

    There is no problem with coding the menu directly into the theme. In fact I tend to do that myself.

    The custom code option is just there in the admin panel for those who find modifying their theme files confusing.

    Here is the code you have now:
    [code:3vo14bgd]<ul id="suckerfishnav">
    <li><a href=?page_id=22 "">Welkom</a></li>
    <li><a href=?page_id=10 "">Pluimvee</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a></li>
    <li><a href=?page_id=23 "">Toevoer</a></li>
    <li><a href=?page_id=24 "">Pansystemen</a>
    <ul>
    </li>
    <li><a href=?page_id=27 "">AZA</a></li>

    <li><a href=?page_id=28 "">Chore Time</a></li>
    </ul>
    <li><a href=?page_id=25 "">Drinksystemen</a></li>
    <li><a href=?page_id=30 "">Verwarming</a></li>
    <li><a href=?page_id=30 "">Ventilatie</a></li>
    <li><a href=?page_id=30 "">Elektro</a></li>
    <li><a href=?page_id=30 "">Legnesten</a></li>
    <li><a href=?page_id=30 "">Volière</a></li>
    <li><a href=?page_id=30 "">Milieu</a></li>

    <li><a href=?page_id=30 "">Ei-behandeling</a></li>
    <li><a href=?page_id=30 "">Weging/menging</a></li>
    </ul>
    <li><a href=?page_id=29 "">Varkens</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a></li>
    <li><a href=?page_id=30 "">Voedering</a></li>
    <li><a href=?page_id=30 "">Ventilatie</a></li>
    <li><a href=?page_id=30 "">Milieu</a></li>
    <li><a href=?page_id=30 "">Elektro</a></li>

    <li><a href=?page_id=30 "">Inrichting</a>
    <ul>
    <li><a href=?page_id=30 "">Biggen</a></li>
    <li><a href=?page_id=30 "">Vleesvarkens</a></li>
    <li><a href=?page_id=30 "">Zeugen</a></li>
    </ul>
    </li>
    </ul>
    <li><a href=?page_id=29 "">Rundvee</a>
    <ul>
    <li><a href=?page_id=11 "">Opslag</a></li>

    <li><a href=?page_id=30 "">Transport</a></li>
    <li><a href=?page_id=30 "">Ventilatie</a></li>
    <li><a href=?page_id=30 "">Verlichting</a></li>
    </ul>
    <li><a href=?page_id=29 "">Andere</a>
    <ul>
    <li><a href=?page_id=30 "">Waterleiding</a></li>
    <li><a href=?page_id=30 "">Drinkbakken</a></li>
    <li><a href=?page_id=30 "">Voederbakken</a></li>
    <li><a href=?page_id=30 "">Industrieel transport</a></li>

    </ul>
    </ul>
    <li><a href=?page_id=2 "">Nieuws</a></li>
    <li><a href=?page_id=5 "">Contact</a></li>
    </ul>
    [/code:3vo14bgd]

    I think this is the code you are wanting:

    [code:3vo14bgd]
    <ul id="suckerfishnav">
    <li><a href="?page_id=22">Welkom</a></li>
    <li><a href="?page_id=10">Pluimvee</a>
    <ul>
    <li><a href="?page_id=11">Opslag</a></li>
    <li><a href="?page_id=23">Toevoer</a></li>
    <li><a href="?page_id=24">Pansystemen</a>
    <ul>
    <li><a href="?page_id=27">AZA</a></li>
    <li><a href="?page_id=28">Chore Time</a></li>
    </ul>
    </li>
    <li><a href="?page_id=25">Drinksystemen</a></li>
    <li><a href="?page_id=30">Verwarming</a></li>
    <li><a href="?page_id=30">Ventilatie</a></li>
    <li><a href="?page_id=30">Elektro</a></li>
    <li><a href="?page_id=30">Legnesten</a></li>
    <li><a href="?page_id=30">Volière</a></li>
    <li><a href="?page_id=30">Milieu</a></li>
    <li><a href="?page_id=30">Ei-behandeling</a></li>
    <li><a href="?page_id=30">Weging/menging</a></li>
    </ul>
    <li><a href="?page_id=29">Varkens</a>
    <ul>
    <li><a href="?page_id=11">Opslag</a></li>
    <li><a href="?page_id=30">Voedering</a></li>
    <li><a href="?page_id=30">Ventilatie</a></li>
    <li><a href="?page_id=30">Milieu</a></li>
    <li><a href="?page_id=30">Elektro</a></li>
    <li><a href="?page_id=30">Inrichting</a>
    <ul>
    <li><a href="?page_id=30">Biggen</a></li>
    <li><a href="?page_id=30">Vleesvarkens</a></li>
    <li><a href="?page_id=30">Zeugen</a></li>
    </ul>
    </li>
    </ul>
    <li><a href="?page_id=29">Rundvee</a>
    <ul>
    <li><a href="?page_id=11">Opslag</a></li>
    <li><a href="?page_id=30">Transport</a></li>
    <li><a href="?page_id=30">Ventilatie</a></li>
    <li><a href="?page_id=30">Verlichting</a></li>
    </ul>
    <li><a href="?page_id=29">Andere</a>
    <ul>
    <li><a href="?page_id=30">Waterleiding</a></li>
    <li><a href="?page_id=30">Drinkbakken</a></li>
    <li><a href="?page_id=30">Voederbakken</a></li>
    <li><a href="?page_id=30">Industrieel transport</a></li>
    </ul>
    </li>
    <li><a href="?page_id=2">Nieuws</a></li>
    <li><a href="?page_id=5">Contact</a></li>
    </ul>

    [/code:3vo14bgd]

    If you check your code validation periodically will show up the errors quite quickly. There are currently 133 errors on your home page according to the W3C validator … http://validator.w3.org/check?verbose=1 … haut.be%2F

    #3445
    Anonymous
    Member

    Thank you very much! Now my missing items are showing. I’ve still found 16 errors, but they are in parts I didn’t change myself. So I think I’ll better leave them alone.
    Still many thanks
    regards,
    Yves

    #3545
    Anonymous
    Member

    Thank you very much! Now my missing items are showing. I’ve still found 16 errors, but they are in parts I didn’t change myself. So I think I’ll better leave them alone.
    Still many thanks
    regards,
    Yves

    #3446

    Glad to hear you got it working <img decoding=” title=”Smiley” />

    #3546

    Glad to hear you got it working <img decoding=” title=”Smiley” />

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.