Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Wordpress creates menu's that look like this:</p> <pre><code>&lt;ul id="main-menu" class="menu"&gt; &lt;li id="menu-item-1234" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-33 current_page_item menu-item-1234"&gt; &lt;a href="http://www.site.nl/"&gt;home&lt;/a&gt; &lt;/li&gt; &lt;li id="menu-item-1235" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1235"&gt; &lt;a href="http://www.site.nl/cursussen/"&gt;cursussen&lt;/a&gt; &lt;ul class="sub-menu"&gt; &lt;li id="menu-item-1244" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1244"&gt; &lt;a href="http://www.site.nl/cursussen/"&gt;cursus overzicht&lt;/a&gt; &lt;/li&gt; &lt;li id="menu-item-1237" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1237"&gt; &lt;a href="http://www.site.nl/maatwerk/"&gt;maatwerk&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li id="menu-item-1238" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1238"&gt; &lt;a href="http://www.site.nl/nieuws/"&gt;tips en tricks&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; </code></pre> <p>There are plenty of classes and structures you can depend on here to do what you want your span to do. For example, with some css like this:</p> <pre><code>ul li ul { /*drop-down-menu-pointer styling here, for example, if your main menu has a height of 20 px, this might work*/ top: -20px; padding-top: 20px; background-image: url('arrowurl.jpg'); background-position: top right; background-repeat: no-repeat; /* And you might have to do something with the position attribute */ } </code></pre> <p>It will need some tweaking I guess but it should get you there. Also, look into <a href="http://codex.wordpress.org/Function_Reference/wp_nav_menu" rel="nofollow">http://codex.wordpress.org/Function_Reference/wp_nav_menu</a> for all options, maybe something there will help you.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload