lnpgaceta
Forum Replies Created
-
Tobias,
I referred it to BoldGrid and they’re working on it–turns out there’s been some changes to the “structure of the Google Fonts JSON file used to fetch the font files” and they’ll need to patch it up. Thanks for the help isolating the problem.
Regards,
LNP
Tobias,
With that in mind, my question would be: is there a way for me to ensure that the different weights are loaded?
I went ahead and put in an email to the BoldGrid team, since my Google Fonts access is supposed to be through their plugins and, therefore, I assume the problem can best be solved through them, but I wonder if there’s a way for me to fix it before I do that.
Tobias,
Thanks for the extraordinarily quick response.
That explains both why I felt I was making a really elementary mistake—I changed it to Fira Sans Condensed, which I know I have loaded, and it worked—and both why I couldn’t remember how I solved this problem the last time, because I haven’t actually had it before. I will get the regular Fira Sans family loaded.
EDIT: Huh. Actually, curiouser and curiouser: I looked at the CSS and, supposedly, both my theme and the BoldGrid Post/Page Builder should have the Fira Sans library loaded onto them. (Come to think of it, my headings are Fira Sans, and they work okay.) Is there any way to make it load again specifically for TablePress?
Thanks!
- This reply was modified 2 years, 11 months ago by lnpgaceta.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Accents in custom CSS codeHaving now tried it, and done a couple tweaks (I had to also remove spaces as a character) it works now! Thank you for the help.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Accents in custom CSS codeGot it. Just to make sure: would doing that also work for the other special characters (á/é/í/ó/ú/ü)?
So, for example, Canóvanas will look like .highlight-canvanas?
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Accents in custom CSS codeYeah, no problem: https://www.lnpgaceta.org/statistics/.
This is the shortcode:
[table id=37 highlight=”Adjuntas||Aguada||Aguadilla||Aguas Buenas||Aibonito||A?asco||Arecibo||Moca” highlight_full_cell_match=”false” /]
This is the Plugin Options code I’ve got:
`.tablepress-stat .highlight-adjuntas {
background-color: #57267e !important;
color: #00e000 !important;
}.tablepress-stat .highlight-aguada {
background-color: #020202 !important;
color: #e36c09 !important;
}.tablepress-stat .highlight-aguadilla {
background-color: #eeee00 !important;
color: #000080 !important;
}.tablepress-stat .highlight-aguas-buenas {
background-color: #000000 !important;
color: #ff0000 !important;
}.tablepress-stat .highlight-aibonito {
background-color: #003f7a !important;
color: #ff8c00 !important;
}.tablepress-stat .highlight-a?asco {
background-color: #a30000 !important;
color: #ffd65c !important;
}.tablepress-stat .highlight-arecibo {
background-color: #c00000 !important;
color: #f7f7f7 !important;
}.tablepress-stat .highlight-moca {
background-color: #c0c0c0 !important;
color: #800040 !important;
}Got it. Thank you once again—based on what I see here, it should be pretty easy to assemble off-site and then copy in.
I’m impressed by the breadth of function you’ve achieved with TablePress. And here I just wanted a table with custom colors and in a font other than Arial!
Regards,
Noah
Tobias,
I don’t mind having a bit of ugly code, and I’m not super advanced yet, so I think I’ll stick with the simple method for the moment.
If I can take up just a little more of your time, I wanted to run a bit of sample code by you and see whether I’ve got the right idea. I borrowed this from the link you posted earlier and modified it for two teams:
[table id=X highlight=”Arecibo” highlight=”Ceiba” highlight_full_cell_match=”false” /]
Then in the CSS I’d put something like:
.tablepress-id-X .highlight-arecibo {
background-color: #c00000 !important;
color: #f7f7f7 !important;
}.tablepress-id-X .highlight-ceiba {
background-color: #00b0f0 !important;
color: #009000 !important;
}Do I have that more or less correct? And am I right in assuming I can put all of this into a table class (like say, .tablepress-statsheet or whatever)?
I promise I’ll leave you alone and play around with it soon. I’m just very, very new to anything beyond occasionally changing a font color in CSS.
Thank you very, very much,
Noah
Tobias,
No worries. I haven’t tried it yet—reason why will become clear in a second—but to my understanding, this would require me to put what I want highlighted in each table shortcode, and also put the colors into the CSS?
I ask because I’ve got 78 teams to work with, so while I’m willing to try it out (I can always write all the code ahead of time and store it), I want to know what I’m getting myself into. And I guess I should ask—would that push TablePress’s technical capabilities at all?
Regards,
Noah- This reply was modified 4 years, 5 months ago by lnpgaceta.
Tobias,
Thanks for the quick reply! It’s really no trouble—I’m just trying to get a sense of what’s possible to do with TablePress before I try out the more left-field stuff.
(In detail: I’m trying to have the top 5-10 players in each statistic listed for each year, and to have their team cell be in their team colors.)
That said, when I tried to open the Cell Highlighting extension, I got a page not found error. Is it under another name these days?
Regards,
Noah