CSS conflict CSS conflict
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CSS conflict

Started by phill104, November 24, 2010, 08:18:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

phill104

This is only a test setup so not too important but the menu's are not loading correctly.

http://www.windsurf.me.uk/test/cpg133/

It ia apparrent that the <li> is picking up the class from the overriding template. I am using dependant selectors to avoit all other css conflicts but what is the best way to fix the .li?
It is a mistake to think you can solve any major problems just with potatoes.

phill104

Sorry, this should have been in themes :-[. Moving accordingly
It is a mistake to think you can solve any major problems just with potatoes.

Jeff Bailey

try taking out
.dropmenu li {
position: relative;
}

Not sure if that's the issue your having but the drop downs worked for me after that.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jeff Bailey

also add
.dropmenu li {
overflow: visible;
}
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

phill104

Good pointer.

Ended up with this code in style.css

.mainCell .dropmenu li {
    float: left;
    overflow: visible;
    padding: 0;
    margin: 0;
}


It is a mistake to think you can solve any major problems just with potatoes.