Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
in Q2A Core by

So far I targeted the custom field using CSS3:

.qa-template-ask tr:nth-child(4) .qa-form-tall-data { ... }

However, when clicking on edit button, the CSS will be assigned to the edit field.

So my suggestion: Add an identifier or CSS class to the custom HTML field, such as .customfield


Tried adding to qa-page-ask.php:

            'custom' => array(
                'type' => 'custom',
                'note' => $custom,
                'tags' => 'class="customfield"', // added id to access by CSS

But it is not working...

Q2A version: 1.5.4

1 Answer

0 votes
Why not just put the ID in the field? HTML is allowed so wrap your content in <div id="whatever"></div>
thx Scott, I thought of that, however, I cannot access the parent (which is a TD) with CSS2 nor CSS3 to remove padding and margin to make it inline... check the math tool box from: http://www.gute-mathe-fragen.de/ask to see what I mean.