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, fieldsetand perform the following changes:- Locate
font-sizein the class definition - Replace the value 10 with the value 12.
- Locate
- Find
.sidebar_header_linkand perform the following changes:- Locate
font-sizein the class definition - Replace the value 12 with the value 14.
- Locate
- Find
#footer pand perform the following changes:- Locate
font-sizein 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, fieldsetand perform the following changes:- Locate
font-sizein the class definition - Replace the value 10 with the value 12.
- Locate
- Find
.sidebar_header_linkand perform the following changes:- Locate
font-sizein the class definition - Replace the value 12 with the value 14.
- Locate
- Find
#footer pand perform the following changes:- Locate
font-sizein 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, fieldsetand perform the following changes:- Locate
font-sizein the class definition - Replace the value 10 with the value 12.
- Locate
- Find
.sidebar_header_linkand perform the following changes:- Locate
font-sizein the class definition - Replace the value 12 with the value 14.
- Locate
- Find
#footer pand perform the following changes:- Locate
font-sizein the class definition - Replace the value 10 with the value 12.
- Locate
- Find
- Save your changes and close the file.