Page History
Using code to adjust the width and line height
The portion of the HTML code that contains the code for the text used for highlighted animals is:
.highlightedInfo
Using the code below, we've adjusted the
You can customize the appearance of the text that appears in the highlighted animals section by using code changes. This section gives you instructions for changing the appearance of that text.
.highlightedInfo
Here we've added the following code to adjust the width of this section to 500px wide and added a Google font and some line-height for readability,.
Code Block | ||
---|---|---|
| ||
.highlightedInfo { width: 500px; font-family: "Ubuntu",sans-serif; font-weight: 400; line-height: 1.95em; } |
...
If you want to style the entire Highlighted section, this the code below can help get you started.
...
Overview
Content Tools