Changing the font size
In this lesson, the font size of the storefront page is changed by modifying the font-size attribute in the CSS file.
Procedure
- In the Enterprise Explorer view, navigate to Stores > WebContent > Madisons > css.
- Open the common2_1.css file:
- Find
a, fieldset
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 10 with the value 12.
- Locate
- Find
.sidebar_header_link
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 12 with the value 14.
- Locate
- Find
#footer p
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 10 with the value 12.
- Locate
- Find
- Save your changes and close the file.
- Open the common2_2.css file:
- Find
a, fieldset
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 10 with the value 12.
- Locate
- Find
.sidebar_header_link
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 12 with the value 14.
- Locate
- Find
#footer p
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 10 with the value 12.
- Locate
- Find
- Save your changes and close the file.
- Open the common2_3.css file:
- Find
a, fieldset
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 10 with the value 12.
- Locate
- Find
.sidebar_header_link
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 12 with the value 14.
- Locate
- Find
#footer p
and perform the following changes:- Locate
font-size
in the class definition - Replace the value 10 with the value 12.
- Locate
- Find
- Save your changes and close the file.