I am using Dawn theme and, when I insert a table into a blog post, the font size within the table is smaller than the paragraph font size in the rest of the blog post. I tried to change the font size with some css but it didn’t work. How can I change the font size within the table so it matches the other paragraph font size?
- Add custom CSS: Within the CSS file, you’ll need to add custom CSS to target the table and adjust its font size. Here’s an example:
.table-class {
font-size: 16px;
}
- Replace
.table-classwith the appropriate CSS class or ID of your table element. If your table doesn’t have a specific class or ID, you can use a general CSS selector to target all tables:
table {
font-size: 16px;
}
- Adjust the
16pxvalue to match the desired font size. This should be the same font size as the paragraphs in the rest of your blog post.
I added the general CSS selector to the custom CSS section of the theme settings but it didn’t change any of the fonts. Is that not the correct place?