On a couple of 3.4.8 sites I manage, the login screen has changed from blue to black. I have found this code in the index.php file of the admin template (isis).

    /* Template color */
    <?php if ($this->params->get('templateColor')) : ?>
    .view-login {
        background: <?php echo $this->params->get('templateColor'); ?>;
    <?php endif; ?>

Once the page is rendered the html looks like this:

/* Template color */ .view-login { background: #000000; }

It's inline, so a style sheet won't override it. I've looked in every file in the template manager and can't figure out where it's getting the black from.

Any help would be greatly appreciated.

1 Answer 1


$this->params->get means there is a parameter in your Template options.

Simply go go:

Extensions >> Templates >> Isis >> Advanced

Then the color parameter you need to change it "Nav Bar Colour"

See screenshot below:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.