Jump to content
Sign in to follow this  
adesouza

Basic Navable Setup?

Recommended Posts

adesouza    0
adesouza

Got it sorted.

 

For other folks...Answer below

Share this post


Link to post
Share on other sites
adesouza    0
adesouza

dragged Navable onto the header in  drag and drop,

 

Setup wordpress menus, assign to navable in Appearence->menus

 

To get a fixed menu i added a class to the PHP and some corresponding LESS in the LESS file:

 

on line 54 of section.php I added the 'ba-fixed' class to container div

 

printf('<div class="navable_wrap fix"><div class="ba-navable-container ba-fixed"> 

 

then in the less file i added:

 

 

.ba-fixed{
position: fixed;
top: 25px;
left: 0;
width: 100%;
}

 

This works fine now... only thing is... menu is somewhat hidden behind admin bar when logged in...no a big deal but would be nice to tweak.

 

is there some way maybe to assign a diff top margin if a user is logged in?

 

 

<?php if ( !is_user_logged_in() ):?>
top: -5px;
<?php else: ?>
top: 25px;
<?php endif; ?>

Share this post


Link to post
Share on other sites
adesouza    0
adesouza

// and finally, is it possible for a parent item to be clickable/linkable?

 

Yup... it's default behavior

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  

  • Similar Content

    • imagineutopia
      By imagineutopia
      Hi.
       
      I have a client who wants a tight subnav up top.
       
      I am using hero nav and want to use navable as my sub menu.
       
      it looks pretty good but I know they will complain about the shadow and gradient.
       
      I'm going to try and make it be totally white and push it down near the curve a little tighter.
       
      is this possible though css? I basically just want it to be transparent. 
       
      Top is how it currently is and below is ideally how I'd like it to be.
       

       
      thanks,
    • KristaD
      By KristaD
      Hi there, I'm working on: http://kristardesign.com/genaleenolin/wordpress/
       
      The client wants the nav bar tabs to be blue when viewing that page. So if you click on Thyroid Sexy from the HOME page, the tab will look blue, not the default gray. I tried Firebug and can't figure it out. Thanks!
    • thebastion
      By thebastion
      Hi there,
       
      I bought the Navable section today, but have since discovered CrackBar which would appear to be exactly what I was after in the first place.
       
      They are both created and sold by Nick Haskins, would it be possible to exchange?  Navbar really isn't customisable enough for what I need.
       
      Many thanks
       
      Stuart
    • innovot
      By innovot
      A nice feature would be able to center the menu within the bar.  Is that possible please ?
    • innovot
      By innovot
      Have just purchased Navable but when adding to the site and changing the base colour and text nothing happens.  I have refreshed multiple times and published but it stays the default grey.  What am I doing wrong ?
       
      No rhyme or reason why but it has started worked :)
×