Skip to content
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

FitText on bootstrap navbar links #166

Open
savgiannis opened this issue Oct 18, 2017 · 2 comments
Open

FitText on bootstrap navbar links #166

savgiannis opened this issue Oct 18, 2017 · 2 comments

Comments

@savgiannis
Copy link

Hi, I tried to implement fit text in bootstrap navbar links so the font size is different on xl, lg, and even on sm screens when it collapses so i will not have to add media queries but it does not work it always keeps the max size. Any help ?
Thanks

@TrentWalton
Copy link
Collaborator

TrentWalton commented Oct 18, 2017

Hi! You might start by building a reduced test case on a site like codepen so we can see what's up.
Have you seen the readme? https://github.com/davatron5000/FitText.js/blob/master/README.md

@lwxbr
Copy link

lwxbr commented Jul 16, 2018

Yeah, links and buttons don't resize using fittext, I tried in this pen:
https://codepen.io/vendramini/pen/PBNqbN

I did some algorithm based in viewport width without change the properties of fittext, hope it might help as it helped me: https://codepen.io/vendramini/pen/jpqVdz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants