Jump to content

Archived

This topic is now archived and is closed to further replies.

digamama

Secondary Navigation Drop-Down: Possible to Get on One Line?

Recommended Posts

digamama

Hello everyone,

 

I have a question about the drop down navigation. I'd like for the content on all of the menu items to fall on just one line instead of two. Take a look at this link. You'll see what I mean under the dropdown menu items

 

1.) 'Ventures'

 

and

 

2.) 'Advisory' --> 'Case Studies' (so the sub-sub-dropdown item). 

 

Thanks everyone for your help!  

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Not sure what you mean by one line ?

Are you referring to having all your menu items under one sub menu ?

For example, instead of Advisory > Cast Studies, it goes like this instead:

 

Advisory
Cast Studies

and so on... ?

If that is the case, you do this by creating a custom menu, at the moment your menu is automatically created by Wordpress. For more information on how to create a custom menu, see the Wordpress Codex here - http://codex.wordpress.org/Appearance_Menus_Screen


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
digamama

Hey Danny! 

 

Not quite what I mean....What I'd like to do is keep the menu as is. I just want the words to fall on one line instead of defaulting to two. So instead of:

 

Advisory -->

--> Case Studies

--> --> Global Spaces -- digital

            museum

 

I'd like for it to go:

Advisory --> 

--> Case Studies

--> --> Global Spaces -- digital museum

 

Does that make more sense?

Share this post


Link to post
Share on other sites
Danny

AH OK, my bad!

Add the following to your custom CSS and see if that does trick.

#menu-item-111 .sub-menu {
min-width: 240px;
}

This will effect the Ventures sub-menu - http://d.pr/i/JTbt

You can also do the same thing for the Advisory sub menu too, add the following to your custom CSS:

 

http://d.pr/i/2Gzq

#menu-item-1157 .sub-menu {
min-width: 340px;
}

If they find that some words are still breaking to a new line, increase the min-width value to something higher.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny

Indeed I am lol!

No problem, happy to help.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Liv Kundalini
      By Liv Kundalini+
      Hi -
      Pulling my hair out over here, and would love an assist!
      Site I am building, http://www.livkundalini.com/home, has a problem with the submenu items in the nav not appearing. 
      If anyone wants to see what the Nav should look like, feel free to look in the footer on the left hand side.
      Have tried disabling Pagelines and using the twentyseventeen theme, but problem persists.
      Saw this error (pasted at the bottom of this post) displaying in the inspector, and saw discussion of Jetpack potentially being a culprit. Disabled Jetpack, but the problem persists.
      Had the hosting company even flush the server-side cache, but no avail.
      Any thoughts? Please? It's the only thing keeping me from launching this site!
      Many Thanks,
      Todd
       
      WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403   O @ (index):7
    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • dwpoyner
      By dwpoyner+
      Not sure exactly what is causing the issue. For some reason, why you view my site on mobile, the menu does not show up. It will pop up, but it is black. You can check it out here: http://dev.caryfbc.org. I'm also attaching a screenshot where I shrunk my browser down. Any suggestions?

    • khat
      By khat+
      I think I may have installed pagelines pro incorrectly, and then used features incorrectly. I installed first platforms framework theme and then the child, thinking I could do setup for child later. I tried to set up a background image, and tried custom css feature in pagelines dashboard. I had mistakes in my css, and just thought that if I deleted the info in the css custom feature in pagelines dashboard that the new information would overwrite the old info. The background image didn't respond at all, probably because I didn't have the child directory renamed. I then tried to use the LSS plugin to create css and added more css, possibly, somewhere -sigh-. I never did change the background image and get it placed properly. I used a workaround and in nested containers I placed a background image which worked well enough, so I moved on to try to create my nav bar/ menu bar. When I go to the Menus panel, there is NO area where I can place a menu on a page. I have read and reread and re- re- reread the instructions for placing a menu. I've used the pagelines editor to place a menu, however only HOME shows up. I've been at this for many hours. I've since uninstalled all of my pagelines items and reinstalled, thinking that it would restore all my changes to default, but no, it is still all there, with all my unresolved issues. I am completely at a loss as to what to do next.
×