Repository navigation
Responsive Display Headings #22104
Copy link
Copy link
Closed
Labels
cssSass sources or compiled CSSSass sources or compiled CSSfeatureNew feature, or a change to how an existing one worksNew feature, or a change to how an existing one worksv4v4, the frozen docs on gh-pagesv4, the frozen docs on gh-pages
Description
Activity
- addedcssSass sources or compiled CSSSass sources or compiled CSSfeatureNew feature, or a change to how an existing one worksNew feature, or a change to how an existing one worksv4v4, the frozen docs on gh-pagesv4, the frozen docs on gh-pages
on Mar 3, 2017 This could be solved with #23816
Result: http://martijncuppens.github.io/rfs/docs/4.0/content/typography/#display-headingsThis is still an issue. Any plans to fix?
I'm still facing the same issue. They haven't fixed it yet, I guess.
I just added this in my custom.scss, which worked for the sites I've been working on:
@media (max-width: 575.98px) {
//Manage Display Headers for Mobile Devices
.display-1 {
font-size: 3rem;
font-weight: 300;
line-height: 1.0;
}.display-2 { font-size: 2.75rem; font-weight: 300; line-height: 1.0; } .display-3 { font-size: 2.25rem; font-weight: 300; line-height: 1.0; } .display-4 { font-size: 1.75rem; font-weight: 300; line-height: 1.0; }}
Reacted by Prashad Dey, Abdellatif Landolsi, Benjamin Lodi, Gift Egwuenu, Guy Lepage, Cristian Brochero, John Otu, Kcchouette, June, jess and 8 moreReacted by Vicky Rampin (née Steeves), Anand Rockzz, BilalAslim and Alex LamsonClosing this due to the Responsive Font sizes PR.
am curious, why this is not incorporated into the framework itself yet?
@anandchakru, kind of wonder why, seems like a good fix??
Metadata
Metadata
Assignees
Labels
cssSass sources or compiled CSSSass sources or compiled CSSfeatureNew feature, or a change to how an existing one worksNew feature, or a change to how an existing one worksv4v4, the frozen docs on gh-pagesv4, the frozen docs on gh-pages
I really like these larger, thinner headings that are provided:
As shown here: https://v4-alpha.getbootstrap.com/content/typography/#display-headings
But I've find that on smaller screens, these are almost always way too large. Could you consider adding responsive breakpoints like so:
so that the text can return to the standard h1 h2 etc font style on smaller screens?