Skip to content

Admin theme settings (UIKit) Panel background overrides all style definitions with white #1697

@solonmedia

Description

@solonmedia

Short description of the issue

Jquery overrides for background color on AdminThemeUiKit settings.

Expected behavior

Should be able to style using LESS or CSS but the jquery call overrides.

Actual behavior

Jquery call overrides background color style.

Optional: Screenshots/Links that demonstrate the issue

image png a71659fae279248a2a07c470e4674f06

Optional: Suggestion for a possible fix

Either eliminate or replace this code in \wire\modules\AdminTheme\AdminThemeUikit\config-field.js::

$(document).ready(function() {
	$('#_adminTheme').find('input[type=radio],input[type=checkbox]').change(function() {
		updateAdminThemeUikitExample();
	});
	$('#_adminTheme, #_adminTheme > *').css('background-color', '#fff'); // <--- This seems to be the culprit.
	updateAdminThemeUikitExample();
	initAdminThemeUikitColumnWidth();

});
  • ProcessWire version: 3.0.213

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions