[OJS 3.2.1-1] CSS for Backend

Hi

I’d like to add the following CSS to the backend

.checkbox_and_radiobutton li {
float: left;
padding-left: 20px;
}

which should cause the Review Form’s radio buttons to display as horizontal instead of vertical.

Where would I have to add this code to? Wouldn’t it be possible to have a style.css uploaded for the backend as there is for the front end?

Thanks for any help you could provide,
Cédric

Putting the code into
/styles/build.css
worked. In case anyone else was wondering.
Of course you’ll have to reapply the change at every update if you do it this way.

1 Like

Hi @alaskadream,

If you want to make this change more stably, you can edit lib/pkp/styles/form/form.less and find where the existing styling is applied to li inside checkbox_and_radiobutton. Then remove styles/build.css to cause it to be re-generated from LessCSS sources.

Regards,
Alec Smecher
Public Knowledge Project Team

3 Likes