CSS not Being Applied to the Back Button?
Posted: Mon Nov 22, 2021 4:38 pm
Hello,
I've added the following custom code to move just the nuActionHolder to a left vertical position for only the edit form, and change the nuActionButton format to be bigger.
However the Back button always retains it's original css code and looks different to the rest.
I've tried to target the Back button using #nuBackBtnButton and #nuBackBtnButton.nuActionButton but neither have any effect. Does anyone know if there is another class I should be targetting to change the Back button?
Thanks,
Paul
I've added the following custom code to move just the nuActionHolder to a left vertical position for only the edit form, and change the nuActionButton format to be bigger.
Code: Select all
if (nuFormType() == 'edit') {
nuResize()}
function nuResize() {
var h = window.innerHeight;
$('#nuActionHolder').css({
'width': '100px',
'float': 'left',
'height': h,
'border-right': 'solid',
'border-right-width': 'thin'
});
$('.nuActionButton').css({
'width': '90px',
'height': '45px',
'margin':'5px'
});
$('.nuBackBtnButton.nuActionButton').css({
'width': '90px',
'height': '45px',
'margin':'5px'
});
}
Thanks,
Paul