1
Flazz
drop down menu
  • 2004/10/5 21:05

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


I just installed the newbb2 modual.

This modual has dropdown menus.

I have manged to change the style.css in my theme to change the actule dropdown menu.
ul {margin: 0px; padding: 0px; list-style: decimal inside; text-align: center; background-color: transparent; color: #ffffff;}  
.level1 {background-color: transparent;}  
.
level2 {background-color: transparent;}  
li {margin-left: 0px; list-style: square inside; background-color: transparent; color: #ffffff;}
div#content {text-align: left; padding: 8px; background-color: #000000;}  
.submenu {background-color: transparent;}

but cant figure out how to change the dropdown menu titles background colour

The dropdowns menu title is set to
#2F5376
I dont want it set to this colour.

I have searched for this colour in my styles.css and it is not there

any ideas?

2
sbkiller
Re:drop down menu
  • 2004/10/5 21:23

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Me neither, I haven't have time play around with my forums yet, so it's down for the moment...

I have to found out how to change it too like you.

3
Anonymous
Re:drop down menu
  • 2004/10/5 22:05

  • Anonymous

  • Posts: 0

  • Since: 0


/* -- style.css -- */
div.karma
{
    
background-color: transparent;
    
text-align: center;
    
border-top: 1px solid #DDDDFF;
    
border-left: 1px solid #DDDDFF;
    
border-right: 1px solid #AAAAAA;
    
border-bottom: 1px solid #AAAAAA;
    
padding: 10px;
}

span.digest
{
}

body {
        
behavior:url("include/newbb.htc");
    }
    
     {
        
font-family:arial,tahoma,verdana,helvetica;
        
font-size:10px;color:black;
    }

    
ul,li,.link {
        
display:block;
        
margin:0;
        
padding:0;
        
border:0;
         
        
    }
    
ul {
        
width:160px;
        
border:0px solid #9d9da1;
        
[color=FF0000]background:#2F5376;[/color];
        
list-style:none;
    }
    
li {
        
position:relative;
        
padding:1px;
        
padding-left:10px;
        [
color=FF0000]background:#2F5376;[/color];
        
z-index:9;
    }
        
li.folder    { [color=FF0000]background:#2F5376;[/color]; color:white; list-style:none;}        
        
li.folder:hover { z-index:10;}        
        
li.folder ul {
            
position:absolute;
            
display:none;
            
left:-56px; /* IE */
            
top:17px;
        }        
            
li.folder>ul { left:-1px; top: 16px}
        
        
ul.level1 {z-index:1} li.folder:hover ul.level2, 
        
ul.level2 li.folder:hover ul.level3 {
            
display:block;
        }

    .
link {
    
border: 0px;
    
padding: 2px;
    
text-decoration: none;
    
color: black 
    
!important;
    
font-weight: bold;
    
width: 100%; /* IE */
    
text-align: left;
}
        
li>.link { width:auto; }




    
li link.submenu {
        [
color=FF0000]background:#2F5376;[/color]
    
}

    .
link:hover {
        
border:0px;
        
color:orange
        
!important;
    }
    
    
li.folder .link:hover {
    }

Change the red marked Color for the dropdown menu titles background to the color you want.

Greetz

4
Flazz
Re:drop down menu
  • 2004/10/5 22:26

  • Flazz

  • Just popping in

  • Posts: 36

  • Since: 2004/5/14


thanks pred. just found that newwbb has its own .css and was coming to tell all.

Its found in newbb/include

Thanks again

5
Mavortius
Re:drop down menu
  • 2004/11/9 19:02

  • Mavortius

  • Just popping in

  • Posts: 5

  • Since: 2004/11/8


Thats odd, I cant find a CSS in newbb. Driving me nuts.

6
Anonymous
Re:drop down menu
  • 2004/11/9 19:07

  • Anonymous

  • Posts: 0

  • Since: 0


If you use the RC2 locations is modules/newbb/include/newbb.css

Usinf RC3 modules/newbb/newbb.css

7
Mavortius
Re:drop down menu
  • 2004/11/9 21:15

  • Mavortius

  • Just popping in

  • Posts: 5

  • Since: 2004/11/8


Got it now. Was using a version that didnt have its own CSS, but jsut got RC3 and all is well with the world, thanks.