Time for action—Changing the size of the text in the default block
Changing the size of the text in the default block relate to the syntaxes we used in the previous section where we modified the background color of these blocks.
Get to the following syntax of the
global.css
file within the/* Default block style */ section
, to edit the text.div.block h4 { text-transform: uppercase; font-family: Helvetica, Sans-Serif; font-weight: bold; font-size: 1.2em; padding-left:0.5em; border-bottom:1px solid #595A5E; padding-top:2px; line-height:1.3em; color: #374853; height: 19px; background: transparent u'l('../img/block_header.'if') no-repeat top left }
You can make the font size larger by increasing the
em
value in thefont-size
.Normally, you wouldn't want to change it drastically due to the constraints on other related elements such as the background and the span of the block header.
This editing is only relevant to the blocks which were affected by changes made using the same...