CSSMenu Horiz. .menuparent li's not displaying bg images.
Posted: Fri Sep 22, 2006 2:22 am
CMSMS 1.01 Working up a template derived from CSSMenu Horizontal & Two-Column Layout default stylesheets.
I've made a fair few changes to the default sheets, but nothing affecting the various menu uls and lis (except changing bg colors, border colors, etc.) Then I tried to drop in a little bg image (ye olde arrowe) here:
But for some freaky reason the image does not display. I'm using FF 1.5 on Ubuntu (Dapper). I have copy-pasted the background-image property from the above snippet and paired it with different selectors (in the main layout stylesheet), where it works just fine. Therefore the path is correct, the image is not corrupt, etc. I searched this forum but could find no one discussing this exact difficulty (am consequently dreading the inevitable feel-like-an-idiot-because-I-overlooked-something-obvious moment).
So we might as well get it over with ... where did I go wrong here?
I've made a fair few changes to the default sheets, but nothing affecting the various menu uls and lis (except changing bg colors, border colors, etc.) Then I tried to drop in a little bg image (ye olde arrowe) here:
Code: Select all
#primary-nav ul li.menuparent,
#primary-nav ul li.menuparent:hover,
#primary-nav ul li.menuparenth {
/* arrow for menuparents */
background-image: url(images/arrow.png);
background-position: center right;
background-repeat: no-repeat;
}
So we might as well get it over with ... where did I go wrong here?