- This topic has 14 replies, 2 voices, and was last updated 18 years, 2 months ago by
imported_Ryan.
-
AuthorPosts
-
at #336
Anonymous
MemberI’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?
at #3440imported_Ryan
MemberLogin 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’.
at #3540imported_Ryan
MemberLogin 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’.
at #3441Anonymous
MemberI’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
at #3541Anonymous
MemberI’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
at #3442imported_Ryan
MemberNo, 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.
at #3542imported_Ryan
MemberNo, 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.
at #3443Anonymous
MemberI 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.
at #3543Anonymous
MemberI 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.
at #3444imported_Ryan
MemberThere 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
at #3544imported_Ryan
MemberThere 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
at #3445Anonymous
MemberThank 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,
Yvesat #3545Anonymous
MemberThank 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,
Yvesat #3446imported_Ryan
MemberGlad to hear you got it working
” title=”Smiley” />at #3546imported_Ryan
MemberGlad to hear you got it working
” title=”Smiley” /> -
AuthorPosts
- You must be logged in to reply to this topic.