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).

  1. On the Dashboard, select Appearance then Custom Styles
  2. At the top of the page, select Web on the dropdown menu labelled –  You are currently editing styles for:
  3. In the Your Web Styles box, add the CSS shown below.

Custom CSS:

.chapter table{
font-size:1.125rem;
}

 

 

License

Icon for the Creative Commons Attribution 4.0 International License

Digging Deeper into Pressbooks Visual Design Copyright © 2023 by Erin Fields and Leila Malkin is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book