table class style applied to standard form block

Permalink
I have a class for the tables on my site so I have a red bg with border radii.

However, when I add a form block to a page, the popup edit panel also has red background around items and it is impossible to check any of the radio buttons (eg Required: yes/no)

How can I clear any table style from the core C5 blocks so they appear as default?

trixiemay
 
andrewjaff replied on at Permalink Reply
andrewjaff
Hi,

if you have inline css then you can put it in condition
[
if(!$c->isEditMode()){
// your style goes here
}


Or override you css written inline css with this condition

Thanks
trixiemay replied on at Permalink Reply
trixiemay
Thanks Andrew.

Problem is that is not just in edit mode.

My forms now have a red background in the question field! I can't override it in my stylesheet.