Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   Category menu drop-down not working on one site (http://forum.bytesforall.com/showthread.php?t=2153)

dsegel Jun 23, 2009 07:55 AM

Category menu drop-down not working on one site
 
I have two sites, and the Category Menu drop-down function doesn't work on one of them. I know in the past you've said this was probably a php problem, but I really can't figure out what's causing it and was hoping somebody else could take a look and give an opinion. Both sites are run on the same server with all the same settings.

Drop-down doesn't work on: http://digitalageparenting.com

Drop-down does work on: http://www.raisedbygnomes.com

Thanks,

Daniel

dsegel Jun 23, 2009 11:43 AM

I found the problem, but fixing it breaks something else. I had the following css inserts:

Code:

ul { 
zoom: 1; /* hasLayout for IE<= 6 */
overflow: auto; /* shrink the list to sit beside floats in compliant browsers */
margin: 0;
padding: 0; /* zero the defaults so only one or other is used per margin request below */
}           
ul li {
list-style-type: disc;
margin-left: 3em; /* must stay, want it */
}
img {
padding: 0;
margin: 0;

img.left {
margin-right: 0em;
float: left;
clear: left;
}

This is designed to fix the problem of bullets next to an image not being properly indented. See here for an example - check the bulleted list next to the second item. If I include my CSS insert code the bullets indent properly, but the drop-down menus break. Any tips on how I can get both to work?

Flynn Jun 24, 2009 08:02 AM

Limit your CSS to lists inside posts/pages

.post ul {
...
}
.post ul li {
...
}
.post img {
...
}
.post img.left {
...
}

dsegel Jun 24, 2009 10:01 AM

Perfect, works great. Thanks.


All times are GMT -6. The time now is 05:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.