Skip to content
GeneratePress
  • Home
  • Premium
  • Site Library
  • Install
  • Help
    • Documentation
    • Support Forum
    • Contact
  • Log In
GeneratePress
  • Home
  • Premium
  • Site Library
  • Install
  • Help
    • Documentation
    • Support Forum
    • Contact
  • Log In
  • Log In
  • Free Support

[Resolved] Search and Login/Out in Secondary Nav

Home › Forums › Support › Search and Login/Out in Secondary Nav

  • This topic has 7 replies, 2 voices, and was last updated 4 years, 11 months ago by Tom.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • March 31, 2016 at 1:21 pm #183273
    James Perkins

    Is it possible to get the something like the search widget and the a Login/Out (like in the meta widget) into the secondary nav bar? Alternatively, I could switch primary and secondary nav locations if I can get those working in Primary Nav.

    And, in a related question, my Secondary Nav has two groups of functions/links. Can I float some of it to the left and some to right?

    Thanks!

    Jim

    March 31, 2016 at 10:25 pm #183334
    Tom
    Lead Developer
    Lead Developer

    Hi Jim,

    This plugin may help for adding a login/logout menu item: https://en-ca.wordpress.org/plugins/baw-login-logout-menu/

    As for floating menu items, this might help (just ignore the icon part): https://generatepress.com/knowledgebase/menu-social-icons/

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    April 1, 2016 at 12:01 am #183351
    James Perkins

    Thank you, Tom. As always you are fast and helpful. I really need to learn more about what I’m doing. I never thought of plugins for these issues, just because I find your theme to be so complete that I usually just assume I’m missing something – and usually something obvious.

    Anyway, the login plugin was so easy even I could do it. As for getting it to float to the right, I haven’t managed that yet, but I was stabbing in the dark at the custom CSS. I managed to add a class to the two menu items in question, and I could see that it was referencing the class in the browser, but I couldn’t conjure up the CSS to make it work. Need to do some reading. While I was there, I did try to throw a social media icon on the menu with <i class=”fa fa-facebook”></i> and all I got was the nothing. Do I need to turn on font awesome somewhere?

    Thanks again!

    Jim

    April 1, 2016 at 12:07 am #183353
    Tom
    Lead Developer
    Lead Developer

    You don’t need to do the font awesome thing if you’re just trying to float the menu item to the right.

    You just need to add the menu-item-float-right class to the menu items you want to float to the right.

    Adding classes: https://generatepress.com/knowledgebase/using-menus/#custom-classes

    Hope this helps πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    April 1, 2016 at 5:23 pm #183552
    James Perkins

    Thanks again, Tom. I owe you lots of coffee. I understand everything up to that point. My problem is adding CSS to my custom class with correct syntax to get it to float right. I understand that I need to back up and learn something about how CSS works, in a syntactical sense. I guess what I need to solve the current problem is if I create a custom class sec-nav-split in the CSS field, what goes in my custom css (Simple CSS) to incorporate the menu-item-float-right so that it works? Apparently I’m too ignorant to guess the answer. I can read enough to get what it means to put menu-item-float-right into the input of the class, but at this point I have no idea. Still stabbing at it.

    Thanks again!

    Jim

    April 1, 2016 at 6:00 pm #183556
    Tom
    Lead Developer
    Lead Developer

    That class is actually built into GeneratePress, so all you need to do is add the class and it should work perfectly – no need to add any CSS yourself.

    If it’s not working let me know your URL and I’ll take a look πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

    April 2, 2016 at 2:10 am #183640
    James Perkins

    AaaaaaaaaH. –Smacks self in head– Suddenly, the lightbulb goes on. Now that the black monolith has taught the monkey how to use tools, it does indeed work perfectly. I thought it was a method to a class, not the class itself. Thank you, sir!

    April 2, 2016 at 10:42 am #183703
    Tom
    Lead Developer
    Lead Developer

    Glad I could help! πŸ™‚

    Documentation: http://docs.generatepress.com/
    Adding CSS: http://docs.generatepress.com/article/adding-css/
    Ongoing Development: https://generatepress.com/ongoing-development

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Common Issues

  • Missing style.css
  • Updating errors
  • Plugin Install Failed

Useful Articles

  • Installing GP Premium
  • Installing GeneratePress
  • How to add CSS
  • How to add PHP

GeneratePress

  • About
  • Premium
  • Site Library
  • Gutenberg
  • Affiliates
  • Reviews
  • Brand Assets
  • Blog
  • We’re Hiring!

Support

  • Documentation
  • Contact Us
  • Support Forums
  • Fastest WordPress Theme
  • Changelogs
  • Legal
  • Donate
  • Translate

Popular FAQs

  • Install GeneratePress
  • Installing GP Premium
  • Missing style.css
  • Plugin Install Failed
  • Adding CSS
  • Adding PHP
  • WordPress Hosting

Social

  • Facebook
  • Twitter
  • WordPress
  • GitHub
Made with on Vancouver Island
  • Home
  • Premium
  • Site Library
  • Install
  • Contact
  • Support Forum
  • Documentation
  • Account
  • Checkout