New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nav bar as part of milligram? #70
Comments
|
In fact, my intention is to keep Milligram as light as possible, supporting the feature minimum necessary to initialize a project. You helped me have a great idea! I will create a repository with components produced with Milligram. This should help many people, a place where they can more easily find something that can help it in everyday life. |
Doesn't seem to be well known or used, but I would like a range of navbars too |
Same here, navbar and menus are the minimum feature necessary to a project, isn't it? |
Heya, I'm looking for a framework that can replace bootstrap for me and milligram is a serious contender. I could really do with some more examples since I'm not familiar with the framework yet but the codepen link you posed does not work. Do you have another link? Thanks! |
You are giving me great ideas. 😍 |
Any outcome on the navbar ideas? |
Milligram is pretty good but I would definitely like to see more Nav options, especially for using with Sage 9 (Wordpress) builds, which usually need a nav walker unless someone can correct me on that?, Thanks |
@cjpatoilo's link seems dead. The new link is https://codepen.io/milligramcss/ (Plus, I would definitely be for adding a navbar to Milligram. I disagree with others saying that it's a narrow thing for people to want, 90% of websites have a navbar.) |
nav bar would be great |
I would like to add that the fact that the github.io site has a navbar led me to believe that the package itself had a navbar. it's pretty disingenuous. |
I disagree. The pages document doesn’t state a navbar is a core component anywhere. The fact the page has a navbar does not mean it is part of the framework. It isn’t disingenuous, you simply made a wrong assumption. |
Yes, I thought the package had a navbar until I started reading and found out it didn't. It honestly surprised me - my expectation in looking at ui packages is that they generally only use the tools they provide. I looked through the site css - simply styling the |
^^ all that said... has anybody implemented a fairly simple navbar w/ logo and menu items that responsively breaks down to a hamburger-type menu on mobile as an example? |
I'm trying my hand on that now using the example included in milligram, using https://github.com/shuedna/Milligram-baseSite-withMenu as reference. I too am very inexperienced with this so may not succeed. But I agree with above; a responsive nav is pretty foundational. |
updated previous request... CSS only, no JS, especially no jQuery. |
CSS Only Milligram NavBar Depends upon the base library. |
Good work @popey456963. The only thing is that it doesn't break down to a hamburger style menu. |
I halted my search for a css-only nav that collapses to a hamburger menu for now due to time; I simply replaced the text with font-awesome icons which are more compact and display nicely when scaled down. Also, for the element 'navigation-item' I decreased margin-left to 1.5rem. Once I complete this project I'll try again... if someone else didn't already complete it. |
Also, hide navbar on scroll up:
No Jquery or other deps required |
I think normally you want to hide the navigation bar on scroll down, not scroll up? |
The code is for scroll down. Sorry, I misspoke |
Following up on css-only responsive nav... this one is simple and works great: |
Thanks for the link. But how do I put that together? The content of my container scrolls 'behind' the header. There should be some kind of padding. |
Just a comment. If there are pre-built navbar things, building UI will quite faster. I think not |
Guys, thank you for helping @. For now, I will close this issue. |
Love the look of this framework, great job!
Upon trying it out I realised that the nav bar that's part of the homepage isn't actually part of milligram. Actually, a few things of the homepage aren't part of milligram. It was easy for me to add it to my project, but are there plans to incorporate it as part of milligram?
The text was updated successfully, but these errors were encountered: