Correcting Font Size Discrepancy in Table
Pressbooks themes provide a set of predefined font sizes for different elements such as body text, headings, footnotes and captions. These presets help maintain a cohesive and visually appealing design throughout the book while ensuring optimal readability on different devices.
Resourcces
To learn more about Appearance settings in Pressbooks, review the following guide:
Issue
The text within a table is displaying as different font sizes, despite all text being formatted as Paragraph.
Solution
Add CSS to the Custom Style Sheet that will set the font size within a table to 1.125rem (the standard for size for Paragraph text).
- On the Dashboard, select Appearance then Custom Styles
- At the top of the page, select Web on the dropdown menu labelled – You are currently editing styles for:
- In the Your Web Styles box, add the CSS shown below.
Custom CSS:
.chapter table{
font-size:1.125rem;
}