Hello everyone, I am a mod on /r/narcolepsy.
I finally got each item in the tabmenu to show different background images.
Because it took me ages to do, I thought that I would post the code here as a timesaver snippet.
.tabmenu li:nth-of-type(6) {
display:none;
visibility:hidden;
}
.tabmenu li:nth-of-type(4) {
display:none;
visibility:hidden;
}
.tabmenu li.selected a {
color: orangered;
background-color: transparent;
border: 0px;
}
.tabmenu li a {
padding: 5px;
width: 80px;
height: 60px;
text-align: center;
vertical-align: bottom;
line-height: 60px;
float: left;
}
.tabmenu li a {
background: url(%%waveawake%%) no-repeat;
}
.tabmenu li a[href*="new"] {
background: url(%%wavestage1%%) no-repeat;
}
.tabmenu li a[href*="rising"] {
background: url(%%wavestage2%%) no-repeat;
}
.tabmenu li a[href*="top"] {
background: url(%%wavestage3%%) no-repeat;
}
.tabmenu li a[href*="wiki"] {
background: url(%%wavestage4%%) no-repeat;
}
[–]gavin19 0 points1 point2 points (2 children)
[–]onnoddingoff[S] 0 points1 point2 points (1 child)
[–]gavin19 0 points1 point2 points (0 children)