Theme Switcher CSS annoyance
-
For whatever reason I don’t know why using li is the only way to bring up the bullet.gif image, which is why I have it as the background for li. Removing it gets rid of all bullets.
However in Theme Switcher the use of li within ul means that the bullet shows up at the top of the theme
Below is the code and the Meadow theme can be viewed at: http://wordpress.sekhu.net and select meadow. The reason it doens’t show up in Don’t Panic! is because I used a transparent gif so I suppose I could use a transparent gif in this case, replace the black bullet with a green one of the background colour and that might work – but I shouldn’t have to do this really, should I?
Help!
li {
list-style-type: none;
padding-left: 15px;
background: url('images/bullet.gif') no-repeat 0 50%;
}li li {
list-style: none;
padding-left: 15px;
background: url('images/bullet.gif') no-repeat 0 50%;
}ol {
list-style-type: none;}
ol ol {
list-style: none;
padding-left: 15px;
background: url('images/bullet.gif') no-repeat;
}ul {
list-style: none;
}ul ul {
list-style: none;
padding-left: 15px;
padding-right: 5px;
background: url('images/bullet.gif') no-repeat;
}ul li li ul {
list-style: none;
padding-left: 15px;
background: url('images/bullet.gif') no-repeat;
}ol li li ol {
list-style: none;
padding-left: 15px;
background: url('images/bullet.gif') no-repeat;
}Code is as above, thanks in advance.
The topic ‘Theme Switcher CSS annoyance’ is closed to new replies.