Apologies in advance but my css skills are pretty bad.
I have a form with a series of checkbox elements, there is no label on the left - the label is on the right.
So I want to move the whole thing to the far left.
$mform->addElement('advcheckbox', 'series[' . $seriesname . ']', null, $seriesname, array('class' => 'movemetotheleft'));
If I inspect the element, its using a float: right
.mform .fitem .felement {
- width: 74%;
- float: right;
- margin-left: 0;
}
If I change that in Chome to float: left it works, but I only want the specific elements to move to the left, not everything.
I know I need to add some css somewhere but that's where I'm a bit stuck. I'm not sure where or what css to change in the code, any ideas?