Note that there are some explanatory texts on larger screens.

plurals
  1. POli is not being filled up by anchor tag
    text
    copied!<p>I am trying to create a navigation menu for wordpress. Somehow the first anchor tag is able to take the whole list item for the title but for the archives, I have rotated the anchor tag but whether I rotate the anchor tag or not, it refuses to take up the whole list item as clickable link. What am I missing and how do I go around solving this? Thanks in advance.</p> <p>Code is here: <a href="http://jsfiddle.net/8Zfp3/" rel="nofollow">http://jsfiddle.net/8Zfp3/</a></p> <pre><code>&lt;header class="navbar"&gt; &lt;nav class="menu-item-container"&gt; &lt;ul class="navblog"&gt; &lt;li class="brand"&gt; &lt;a href="#" class="brand"&gt;title&lt;/a&gt; &lt;/li&gt; &lt;li id="menu-item-106" class="navlinks archives menu-item menu-item-type-post_type menu-item-object-page menu-item-106"&gt; &lt;a href="http://localhost/wp/archives/"&gt;Archives&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;ul class="navbar navsocial"&gt; &lt;li&gt; &lt;a href="//facebook.com" class="navlinks navsocial facebook"&gt;&lt;span class="icon-facebook facebook icon-large "&gt;&lt;/span&gt;facebook&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="//twitter.com/" class="navlinks navsocial twitter"&gt;&lt;span class="icon-twitter icon-large "&gt;&lt;/span&gt;twitter&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="//twitch.tv//" class="navlinks navsocial twitchtv"&gt;&lt;span class="icon-youtube-play icon-large "&gt;&lt;/span&gt;twitch.tv&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="//ggtracker.com" class="navlinks navsocial ggtracker"&gt;&lt;span class="icon-gamepad icon-large"&gt;&lt;/span&gt;ggtracker&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="//ggtracker.com" class="navlinks navsocial ggtracker"&gt;&lt;span class="icon-gamepad icon-large"&gt;&lt;/span&gt;ggtracker&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; &lt;/header&gt; </code></pre> <p>CSS</p> <pre><code>h1, h2, h3, h4, h5, h6, a, li, span, p, input, html, body { font-family:"Segoe UI", sans-serif; font-size: 62.5%; } html { width: 100%; } body { width: 100%; max-width:960px; margin: 0 auto; } li { box-sizing: border-box; } a { text-decoration: none; color: #fff; &amp;:visited { color: #fff; } } li { list-style-type: none; } ul { margin: 0%; padding: 0%; } .pull-right { float:right; } .pull-left { float:left; } ::selection { width: 100%; background-color: rgba(242, 56, 90, 0.2); } ::-moz-selection { width: 100%; background-color: rgba(242, 56, 90, 0.2); } /* line 5, scss/header.scss */ li &gt; a { display: block; } /* line 9, scss/header.scss */ nav.menu-item-container { font-size: 6rem; max-height: 160px; } /* line 14, scss/header.scss */ .navbar.navsocial, nav.menu-item-container, .navblog { display: -webkit-flex; display: flex; display: flexbox; } /* line 20, scss/header.scss */ .navbar.navsocial { -webkit-flex-direction: column; -webkit-flex-wrap: wrap; min-height: 160px; max-width: 19%; } /* line 26, scss/header.scss */ .navbar.navsocial &gt; li &gt; a { box-sizing: border-box; text-align: center; min-height: 32px; } /* line 33, scss/header.scss */ .navblog { -webkit-flex-direction: row; width: 81%; } /* line 39, scss/header.scss */ li.brand { flex: 2; -webkit-flex: 2; } /* line 43, scss/header.scss */ li.brand &gt; a { height: 160px; } /* line 48, scss/header.scss */ li.archives { width: 80px; background-color: red; } /* line 53, scss/header.scss */ li.archives &gt; a { border: 1px solid black; -webkit-transform: rotate(270deg); -moz-transform: rotate(270deg); -o-transform: rotate(270deg); writing-mode: tb-rl; } /* line 60, scss/header.scss */ li.archives &gt; a:before { font-family: FontAwesome; content:"\f099"; } /* line 66, scss/header.scss */ a.facebook { background-color: blue; } /* line 70, scss/header.scss */ a.twitter { background-color: orange; } /* line 74, scss/header.scss */ a.ggtracker { background-color: purple; } /* line 78, scss/header.scss */ a.twitchtv { background-color: green; } /* line 82, scss/header.scss */ a.brand { background-color: yellow; } </code></pre>
 

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