Katharsisdrill
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty] Inline “table *” property blocks custom cssYes, I’d hoped that it was only necessary to do CSS corrections, but table * blocks any part of the table hierachy no matter where you use a table. When it is just table that is assigned a colour you can always us <tr> or <td> and get your result.
Forum: Themes and Templates
In reply to: [Twenty Twenty] Inline “table *” property blocks custom cssYes, that is what I have tried, but after reading a bit ( https://mhthemes.com/support/knb/overriding-parent-theme-functions-child-theme-tutorial )it seems that WordPress is also loading the parent theme functions, only after it has loaded the child theme functions. As I am changing the variables it runs the same function again and tries to redeclare all those “element” arrays, thus giving me the error.
I wish I could find somewhere less important in the code than the element array to stick in my knife, but I haven’t been able to even find where it get the grey colour value (#3d3d3d) for the table. Maybe it is in the wordpress code?
Forum: Themes and Templates
In reply to: [Twenty Twenty] Inline “table *” property blocks custom cssSorry I didn’t express myself clearly. I copied the function from the parent function.php to my child theme function.php, but somehow the whole function can’t be redeclared.
I’m not a PHP Wizard so I’m a bit unsure.
Forum: Themes and Templates
In reply to: [Twenty Twenty] Inline “table *” property blocks custom cssYes, I tried, but I am to dim to do it right.. it crashes the site when I try to move the whole (rather large and vital) function giving me a fatal error: Cannot redeclare twentytwenty_get_elements_array(). And I am not sure I can write the php that is needed.