Page 1 of 1

Change CSS of a single form or subform

Posted: Sat Apr 11, 2015 9:56 pm
by sbigelow
Im trying to change the css properties on a form or subform. I imagine it can be done with jquery. Please help me out.

Is something like this right?

Code: Select all

$('#objects_itemsf').css({
    'overflow-x': 'scroll'
});
Where should it be added?

Here is a screenshot of what Im trying to change.
Image

Re: Change CSS of a single form or subform

Posted: Sun Apr 12, 2015 10:24 am
by sbigelow
This code ended up working for me. Added it to custom code, Javascript section of the main form.

Code: Select all

$( document ).ready(function() {
    $('#objects_itemsf').css({
    'overflow-x': 'scroll'
})
});
I don't know jquery very well so I don't know if the code can be cleaned up.

Re: Change CSS of a single form or subform

Posted: Wed Apr 29, 2015 12:50 am
by admin
.