Header & Sub Header

5 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€61.79
List Price:  €88.28
You save:  €26.48
£51.95
List Price:  £74.22
You save:  £22.27
CA$96.71
List Price:  CA$138.17
You save:  CA$41.45
A$109.06
List Price:  A$155.81
You save:  A$46.74
S$90.36
List Price:  S$129.09
You save:  S$38.73
HK$549.01
List Price:  HK$784.34
You save:  HK$235.32
CHF 57.67
List Price:  CHF 82.39
You save:  CHF 24.72
NOK kr712.98
List Price:  NOK kr1,018.58
You save:  NOK kr305.60
DKK kr460.96
List Price:  DKK kr658.55
You save:  DKK kr197.58
NZ$117.53
List Price:  NZ$167.91
You save:  NZ$50.38
د.إ257.06
List Price:  د.إ367.25
You save:  د.إ110.18
৳8,556.20
List Price:  ৳12,223.66
You save:  ৳3,667.46
₹5,991.32
List Price:  ₹8,559.40
You save:  ₹2,568.07
RM297.91
List Price:  RM425.60
You save:  RM127.69
₦111,294.59
List Price:  ₦158,999.09
You save:  ₦47,704.50
₨19,745.23
List Price:  ₨28,208.69
You save:  ₨8,463.45
฿2,297.70
List Price:  ฿3,282.57
You save:  ฿984.87
₺2,746.58
List Price:  ₺3,923.86
You save:  ₺1,177.27
B$396.87
List Price:  B$566.99
You save:  B$170.11
R1,251.02
List Price:  R1,787.25
You save:  R536.22
Лв120.74
List Price:  Лв172.49
You save:  Лв51.75
₩96,517.11
List Price:  ₩137,887.49
You save:  ₩41,370.38
₪246.19
List Price:  ₪351.72
You save:  ₪105.52
₱3,904.33
List Price:  ₱5,577.86
You save:  ₱1,673.52
¥10,081.62
List Price:  ¥14,402.93
You save:  ¥4,321.31
MX$1,350.72
List Price:  MX$1,929.69
You save:  MX$578.96
QR255.22
List Price:  QR364.62
You save:  QR109.39
P944.27
List Price:  P1,349.01
You save:  P404.74
KSh9,044.80
List Price:  KSh12,921.70
You save:  KSh3,876.90
E£3,479.97
List Price:  E£4,971.61
You save:  E£1,491.63
ብር9,511.17
List Price:  ብር13,587.98
You save:  ብር4,076.80
Kz63,827.73
List Price:  Kz91,186.38
You save:  Kz27,358.65
CLP$65,715.71
List Price:  CLP$93,883.61
You save:  CLP$28,167.90
CN¥503.61
List Price:  CN¥719.47
You save:  CN¥215.86
RD$4,134.17
List Price:  RD$5,906.21
You save:  RD$1,772.04
DA9,257.20
List Price:  DA13,225.14
You save:  DA3,967.93
FJ$158.46
List Price:  FJ$226.38
You save:  FJ$67.92
Q537.74
List Price:  Q768.23
You save:  Q230.49
GY$14,649.35
List Price:  GY$20,928.54
You save:  GY$6,279.19
ISK kr8,911.12
List Price:  ISK kr12,730.72
You save:  ISK kr3,819.60
DH647.96
List Price:  DH925.71
You save:  DH277.74
L1,214.37
List Price:  L1,734.89
You save:  L520.51
ден3,801.92
List Price:  ден5,431.54
You save:  ден1,629.62
MOP$565.42
List Price:  MOP$807.77
You save:  MOP$242.35
N$1,250.06
List Price:  N$1,785.87
You save:  N$535.81
C$2,576.41
List Price:  C$3,680.74
You save:  C$1,104.33
रु9,579.57
List Price:  रु13,685.69
You save:  रु4,106.11
S/254.93
List Price:  S/364.21
You save:  S/109.27
K291.64
List Price:  K416.65
You save:  K125
SAR262.55
List Price:  SAR375.09
You save:  SAR112.54
ZK1,857.58
List Price:  ZK2,653.80
You save:  ZK796.22
L312.88
List Price:  L446.99
You save:  L134.11
Kč1,538.88
List Price:  Kč2,198.50
You save:  Kč659.61
Ft24,952
List Price:  Ft35,647.25
You save:  Ft10,695.24
SEK kr671.88
List Price:  SEK kr959.87
You save:  SEK kr287.99
ARS$82,867.06
List Price:  ARS$118,386.60
You save:  ARS$35,519.53
Bs483.82
List Price:  Bs691.21
You save:  Bs207.38
COP$287,602.27
List Price:  COP$410,878
You save:  COP$123,275.73
₡35,646.71
List Price:  ₡50,926.06
You save:  ₡15,279.34
L1,824.33
List Price:  L2,606.30
You save:  L781.96
₲559,473.94
List Price:  ₲799,282.75
You save:  ₲239,808.80
$U2,914.83
List Price:  $U4,164.23
You save:  $U1,249.39
zł262.78
List Price:  zł375.41
You save:  zł112.63
Already have an account? Log In

Transcript

Hello, in this ionic video, we're going to cover the built in header and sub header classes for the CSS components. So you got a header and a sub header. And you got some basic styling that bionic provides really simple stuff. So I'm going to switch over to my text data. And in the index dot HTML file, this is where I'm going to put it, it's going to get rid of all the default code. And to add a header, it is really simple.

You do a div. And then inside of here, you can before you even do that, go do the classes. So class equals bar, bar dash header. Then bar dash loi. This is the first one we're going to look at, but we'll cover all the different headers and sub headers in here. And then here just for h1 for this just for the class.

Title and inside here is put. Save that, come compile our project. And then that is done, we can run the code in our simulator run the project I should say. As you can see, this is what eight, a night header looks like. So now let's cover the various other header styling within ionic. So first of all, what I'm actually going to do is put a comment here.

And this comment is simply going to provide you with all the different styling methods or styling classes that you can use for header. So this way, I don't need to just copy and paste this and just commented out so you can see what you need to update on your end. So, the next one we're going to collect is bar Gosh, stable. You know what, what I'm going to do is just add them all here on the bar dash positive bar does calm ball dash balance as the next one which is basically green one ball, dash and a joist, bar dash, two, only from guess what color the badass facility will be without obviously using it, badass royal and dark. So these are all the different classes that you can use for styling, a header and a sub header for that matter. So if for example, we wanted to do and enjoy Joy's saved up though our project switch over to Xcode or however you are running it on our project and we know we should have a header.

Here we go. And as you can see, not only are these styled it is actually changed the status bar color. Those are fantastic. It's a great way of making it look really, really slick. Am I thinking okay, the black and white look as good as the white? How do you change that?

Check out our YouTube channel, we've got a tutorial on how to change the status bar color on an iOS device. So yeah, now what I'm going to do is show you how to do a sub header for the rest of these classes because I've listed the mighty and all you do is just change this class. We want you to Cody yourself and just mess around with you just to see the different classes So to do a survey, you do another div. Inside here you have a class bar, bar dash, sub header, sub header, and then you have your styling class or bar dash. I'm gonna Port Royal and inside here, just for h1, pretty class of title. And in here I'm gonna put a header, say this build our project.

Now refresh our project mean rerun our project. And here we go. We have a header and a sub header. That's important use headers and sub headers within ionic. If you have any questions, feel free to post them on Our education platform. So now learning Dakota UK does this video, please give it a thumbs up, hit that subscribe button and leave a comment.

There will be a link in the description to our GitHub page which has the source code from all the videos in this series. So check that out. As usual. Thank you for watching and I hope you have a great day.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.