refarrell
Forum Replies Created
-
Forum: Reviews
In reply to: [TablePress - Tables in WordPress made easy] Almost greatHi Tobias,
What you describe is exactly what I am trying to do. Here is an example of a table name with the HTML tags for the superscript:
“Total content (mg kg<sup>-1</sup>) of selected elements in order of abundance in continental crust rocks and in soils (Adapted from Bowen, 1979)”
But when I save it and go to preview the table it shows up as:
“Total content (mg kg-1) of selected elements in order of abundance in continental crust rocks and in soils (Adapted from Bowen, 1979)”
and when I go back to edit mode the HTML tags are missing.
I tried putting in the test name from your email (that is I just did a copy and paste operation) but that did not work either (i.e., the Title showed as “Table 14.1. test<sup>2</sup><sub>3</sub>
I don’t know if it matters, but I am working in Pressbooks and this is the debug and version information:
· Website: https://openpress.usask.ca/soilscience
· TablePress: 1.14
· TablePress (DB): 43
· TablePress table scheme: 3
· Plugin installed: 2020/08/14 10:18:56
· WordPress: 5.8
· Multisite: yes
· PHP: 7.3.13-1+ubuntu18.04.1+deb.sury.org+1
· mysqli Extension: true
· mySQL (Server): 5.5.5-10.2.21-MariaDB-log
· mySQL (Client): mysqlnd 5.0.12-dev – 20150407 – $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
· ZIP support: yes
· UTF-8 conversion: yes
· WP Memory Limit: 96M
· Server Memory Limit: 256M
· WP_DEBUG: false
· WP_POST_REVISIONS: 50Something just isn’t working right and I have not been able to figure out what that is. One solution to the problem would be to make it so the table description and table name rendered in the same size (and color) font (preferably <h3>), which the folks at Pressbooks told me could be done by adding custom CSS, but that is a bit outside my comfort zone right now.
I hope this helps explain the issue I am having, but if you need any additional information just let me know.
Overall, I have really enjoyed using Tablepress and do think that is an excellent plugin.
Cheers,
RichPS. I should say that the name and description fields render the same in the web version because the Pressbooks folks wrote some custom CSS code to make this happen:
.tablepress-table-name {
text-align: justify;
font-size: 12pt !important;
font-weight: bold;
}.tablepress thead th,
.tablepress tbody td {
font-family: ‘Raleway’, san-serif;
font-size: 12px;
font-weight: normal;
color: #000000;
}.tablepress-table-description {
font-family: Raleway, sans-serif;
font-size: 1rem;
color: #003180;
}It just didn’t have an effect on the pdf version.`