Gin toolbar skips background colour, but not when Core Navigation module is enabled

Created on 23 October 2024, about 2 months ago

Problem/Motivation

The code checks for base toolbar, which gets replaced if you enable Core Navigation module:

// Only apply text and background color if not using gin_toolbar
if (!$body.hasClass('gin--vertical-toolbar') && !$body.hasClass('gin--horizontal-toolbar') {

Steps to reproduce

Enable Gin & Navigation

Proposed resolution

// Only apply text and background color if not using gin_toolbar
if (!$body.hasClass('gin--vertical-toolbar') && !$body.hasClass('gin--horizontal-toolbar'  && !$body.hasClass('gin--core-navigation')) {

Remaining tasks

MR

User interface changes

Background not shown when Navigation module enabled in Gin

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024