Jump to content
Sign in to follow this  
laurenp

Making the CrackBar full width

Recommended Posts

laurenp

Hi there,

 

I'm just wondering if there is a way to make the navbar or crackbar full width? I really like the way it transitions to a mobile menu (and prefer this over using the classic nav bar with the mobile plugin) but would prefer if it stretched the full width of the page.

 

thanks in advance.

Share this post


Link to post
Share on other sites
laurenp

Nevermind I figured it out (eventually). Incase anyone else wants to know...

 

I set the border radius to 0px...

 

.crackbar.crackbar-content-width {
    border-radius: 0px;}

then I duplicated the background style into the crackbar ID ie

#crackbar{
   background-image: -moz-linear-gradient(center top , #EFEFEF, #BDBDBD);
    background-repeat: repeat-x;
}

 

+ made a few more tweaks and it worked.

Share this post


Link to post
Share on other sites
greenfly

thanks for letting us know 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
Rob

I have moderated this topic and adjusted the title as you're using Crackbar, not NavBar, and have assigned it to the developer.  Though this is a resolved issue and doesn't require additional assistance, it should be properly categorized. I'm sure you understand.

 

Nick - this requires no action.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

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  

×