CSS for different weights not working
-
I feel like I’m making a really elementary mistake somewhere. All of the TablePress tables on my site are showing the same font weight throughout, including where I’ve applied strong tags.
As an example, here’s the code for the purple table that’s first up on the page I’ve linked:
.tablepress-comp tbody td { font-family: Fira Sans; font-size: 18px; font-weight: 400 !important; text-align: center; vertical-align: middle; color: #000000; } .tablepress-comp thead th { font-family: Fira Sans; font-size: 24px; font-weight: 700 !important; background-color: #383545; color: #ffffff; text-align: center; } .tablepress-comp .column-1 { font-weight: 700 !important; text-align: center !important; } .tablepress-comp .odd td { background-color: #777292; } .tablepress-comp .even td { background-color: #908CA6; } .tablepress-comp { border: 4px solid; border-color: #000000; } .tablepress-comp tr, .tablepress-comp tbody td, .tablepress-comp thead th, .tablepress-comp tfoot th { border: none; }
If you look at the table on the page, however, it doesn’t show different weights there. I feel like I recently solved this problem, maybe for a different thing on the site, but I can’t remember how. Any help would be great.
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘CSS for different weights not working’ is closed to new replies.