Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

osman musse
331 PointsWhat Happen to the page-header class in Bootstrap 4
What Happen to the page-header class in Bootstrap 4 Because the tecaher uses it for Framework Basics. What should i use.
1 Answer

Chris Shaw
26,676 PointsHi osman musse,
Bootstrap 4 deprecated .page-header
in favour of utility functions/mixins which make working with the framework easier, as version 4 is still in alpha it's recommended you stick with version 3 which still uses .page-header
.
osman musse
331 Pointsosman musse
331 PointsYeh but I wanna use Bootstrap 4 the latest isn't there something that replace Page-header
osman musse
331 Pointsosman musse
331 PointsYeh but I wanna use Bootstrap 4 the latest isn't there something that replace Page-header
Kevin Korte
28,149 PointsKevin Korte
28,149 PointsBuilding on Chris's correct comment, nothing replaced
.page-header
, however, if you follow the note they left about about deprecating it, they said you can recreate the styles using the existing utility classes they have. You can find those classes here: https://v4-alpha.getbootstrap.com/utilities/borders/ and effectively rebuild your own page header element.