Jump to content
Sign in to follow this  
apattee

How to use rollover menus with default wp menus?

Recommended Posts

apattee

Hi, I'm trying to create a rollover menu for my main navigation. I'd like it so instead of of having to click on the menu item, the menu appears when hovering over the item. Is this possible? Thanks.

Share this post


Link to post
Share on other sites
hockpunk426
If you want to create a button in your navigation that is just a place holder for child navigation go appearance > menu Under custom link you should put the symbol # under url and then the name of the button under label. This will create the button for the drop down navigation ("rollover menus"). Now just add the pages you have created to your menu and place them under the button you just made. Make sure they are pushed off to the side so they are children of the button you have placed them under. Now go to PageLines > Site Options > Header and Footer and make sure you enable drop down navigation. Let me know if that helps.

Share this post


Link to post
Share on other sites
apattee
Hmm that didn't work. Any other ideas?

Share this post


Link to post
Share on other sites
hockpunk426
What about it didn't work? Did you create the blank button (non-linked)? Did you create pages for that blank button?

Share this post


Link to post
Share on other sites
apattee
Yes sorry. In my current nav bar, the "Why LePort" menu item is a custom link with pages below that. The custom link has a # sign in it and I titled it "Why LePort."

Share this post


Link to post
Share on other sites
hockpunk426
Do you have custom code for your nav bar?

Share this post


Link to post
Share on other sites
apattee
Yes, I am using a background image for the nav bar. [code]/* Code to change nav bar color */ .navbar-content-pad, .navbar { background-image:url('/wp-includes/images/mainnavbackground3.jpg'); } /* Code to change drop down arrow color */ .navbar .caret { border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid #FFFFFF; content: ""; display: inline-block; height: 0; opacity: 1; vertical-align: top; width: 0; } /* Code to change main nav text color */ .navbar .navline > li > a {color:rgba(255,255,255,1.0); } /* Code to change hover background over main nav */ .navbar .navline > li > a:hover, .navbar li.current-menu-item > a {background-color:rgba(0,0,0,0.2);} .navbar .navline > li > a { padding: 10px 15px; }[/code]

Share this post


Link to post
Share on other sites
Danny
Hi apattee, Unfortunately, the new Navbar section is based off Twitter Bootstrap and their menu systems use click rather that hover to display drop down menus. This is the functionality of the menu, if you wish to have hover, enable the display of drop down menus. Simply replace the NavBar section in your header template with the Nav Classi section.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
apattee
Can you let me know how to do that exactly? What code needs to be inputted? Replaced? And what file? Thanks.

Share this post


Link to post
Share on other sites
Jenny
Use the Classic nav instead of the NavBar. It has a hover dropdown effect.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
apattee
Thanks that works. What is the CSS selector for the classic nav so I can add a background image and a few other things? Thanks again.

Share this post


Link to post
Share on other sites
batman
You can modify Nav Classic with the "Simple CSS Lite" plugin found in the PageLines Store to change all parameters. It's a free plugin that allows you control over the color of the menu. Simple CSS Lite only works on the standard navigation, it don??t work on NavBar. ;) To add a background image you must use a CSS rules.

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
catrina
Thanks, batman. (I think I just enjoy saying thank you to you all the time because of your username)

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
batman
Hi Catrina Always it is a pleasure when you say "Thanks, batman" for me. Much better than you imagine. (although it be for my username) :)

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
Danny
Hi apattee, I have accepted Batman's reply, using Simple Lite CSS would be the best course of action for you.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×