StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-07-2010, 05:47 PM
officeto-go's Avatar
officeto-go officeto-go is offline
Registered User
Pro Plus Member
 
Join Date: Mar 2009
Location: Worcester, Massachusetts
Posts: 773
Question Horizontal drop down menu with static menu on click

I know I'm missing something here -- so close! I'm trying to get the horizontal drop down menu to stay there upon clicking a link within it so when you go to the page you click, the rest still show up.

http://www.aweddingbreeze.com/servic...ding-packages/

This is the CSS (not my original code, just tweaked by me but still can't get it to work).

Code:
navbar {
	width: 900px;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	}
	
#navbar ul {
	margin: 0px;
	padding: 0px;
        float: left;
	}

#navbar ul.children {
        width: 100%;
        border-left: 1px solid #ffffff;
}

#nav li {
	list-style: none;
	float: left;
	background: url(images/nav.gif) top center repeat-x;
	margin: 0px 1px 0px 1px;
        padding: 15px 15px 13px 15px;
	}

#nav li a, #nav li a:hover {
	text-decoration: none;
	border: none;
	}

#nav li a, #nav li a:visited {
	display: block;
	font-weight: normal;
	color: #5e5e5e;
	margin: 0px;
        padding: 0px;
	}

#nav li a:hover, #nav li a:active {
	text-decoration: none;
    color: #eb008a;
	}	
	
	
/* Dropdown Menu */		

#nav li ul {
	display: none; 
}

#nav li:hover ul, #nav li.hover ul {
	position: absolute;
        display: inline;
        left: 0;
        height: auto;
        width: 100%;
        margin: 9px 0 0 -15px;
        padding: 0px;
	}

#nav li:hover li, #nav li.hover li {
	float: left; 
}

#nav li li {
	border-right: 1px solid #ffffff;
	background: #eb008a;
	padding: 0px;
	margin: 0px;
	}

#nav li li a, #nav li li a:visited {
	font-weight: normal;
	font-size: 12px;
	color: #FFF;
	text-align: left;
	padding: 4px 8px 4px 8px;
        margin: 0px;
        float: left;
	}

#nav li li a:hover, #nav li li a:active, .current_page_item a {
	background:#bd0471;
    color: #fff;
	}	
		
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
	}
__________________
Cyndi Papia
Virtual Assistant, IVAA EthicsChecked, CRESS

http://OfficeTo-Go.com

 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Navigation Menu - Only link drop down menu ElizabethPW General Discussion 11 01-20-2010 11:08 AM
Replace drop down category menu with drop down page menu StephanieV General Discussion 2 12-19-2009 03:08 PM
Drop Down Menu Too Fast To Click designtec General Discussion 4 10-18-2009 01:52 PM
Unable to click on drop down menu BillStilwell General Discussion 2 07-22-2009 12:34 PM


All times are GMT -5. The time now is 03:17 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.