• 0

voyant Make Header / Navbar Visible at all Times


Question

Posted · Report post

Currently the header/navbar is hidden until you scroll down the page.

 

I'd like it to be visible no matter where a visitor is on a page.

 

I've been screwing around with this this morning but haven't found a way to do this that I am satisfied with.

 

I can remove the negative margin for .hide-menu and push the .section-page-title .holder down using custom CSS, but that seems to have some consequences on smaller screens (header/navbar disappears).

 

Could you please advise me on the best way to do this?

 

Cheers,

 

Dawson

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Posted · Report post

Hi there,

 

I'll used the :before pseudo class in the mobile menu holder to get something like the image below, please add the follow CSS code ( http://paste.pagelines.com/UureJtWw ) in your theme or in the Custom LESS/CSS Box.

 

00000196.png

 

Best,

Enrique.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

(header/navbar disappears).

 

Okay, it looks like I was mistaken about this. The header/navbar turns into the mobile menu, so it doesn't disappear (it was hard to see, but I tested on the Voyant demo page and got the same result).

 

So I guess my question becomes: how can I maintain the visibility of the logo on smaller screens?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

So I guess my question becomes: how can I maintain the visibility of the logo on smaller screens?

 

I see that I can add a background colour and a background-image (scaled down and float to the left) to the row that contains the mobile nav, but would like to know if this would be the recommended solution.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks very much, Enrique.

 

Cheers,

 

Dawson

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