In a WordPress twenty eleven theme. I want to change the size of headings When I wrap my headings around h1 and h2 tags as follows
<h1>My h1 heading </h1>
<h2> My h2 heading </h2>
The font size of heading in the theme I am using is almost same as content's font except that they are bold. So my headings are not quite prominent.
I guess I would need to change something in the CSS file. Please advise what exactly in need to put in.
h1 {
font-weight: bold;
color: #fff;
font-size: 32px;
}
h2 {
font-weight: bold;
color: #fff;
font-size: 24px;
}
Note that after color you can use a word (e.g. white
), a hex code (e.g. #fff
) or RGB (e.g. rgb(255,255,255)
) or RGBA (e.g. rgba(255,255,255,0.3)
).