Add table cells in alphabetical order?
-
Hello Tobias!
You’ve been of great help in the past, but our nonprofit is growing, and I hope we’re not growing out of Tablepress!
I have a table (Table 1) that displays all of the brands that we have certified products for, and the list keeps growing (https://www.madesafe.org/find-products/brands-we-work-with/) It is currently set up as 2 columns and 19 rows, and I’m keeping the brand logos in alphabetical order. The problem is that I can not add a new brand without having to cut and paste all the cells before (or after it, depending on the location in the alphabet…)
I thought that if I set the table up as one VERY long row (with 38 columns), it could automatically center itself on the page if I used the same code as Table 18 on this page: https://www.madesafe.org/find-products/products/
So I created this page: https://www.madesafe.org/draft-brands-with-certified-products/ (Table 31) and copied the css I used for Table 18, but it’s not working (it’s not being responsive and centering on the page).
Here is the code I added:
}
.tablepress-id-31,
.tablepress-id-31 tr,
.tablepress-id-31 tbody td,
.tablepress-id-31 thead th,
.tablepress-id-31 tfoot th {
border: none;
}.tablepress-id-31 {
width: auto;
margin: 0 auto 1em;
}.tablepress-id-31 tbody td {
text-align: center;
display: inline-block;
}Is there a simple fix, or do you have another workaround for my original Table 1 so I can easily insert new table cells in alphabetical order?
Thank you!
===
DEBUG & VERSION INFO
· Website: https://www.madesafe.org
· TablePress: 1.9.1
· TablePress (DB): 37
· TablePress table scheme: 3
· Plugin installed: 2015/12/14 23:23:05
· WordPress: 4.9.9
· Multisite: no
· PHP: 7.2.12-1+ubuntu18.04.1+deb.sury.org+1
· mysqli Extension: true
· mySQL (Server): 5.7.24-27-log
· mySQL (Client): mysqlnd 5.0.12-dev – 20150407 – $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
· ZIP support: yes
· UTF-8 conversion: yes
· WP Memory Limit: 40M
· Server Memory Limit: 512M
· Magic Quotes: off
· WP_DEBUG: false
· WP_POST_REVISIONS: 3The page I need help with: [log in to see the link]
- The topic ‘Add table cells in alphabetical order?’ is closed to new replies.