Secondary toobar hidden by sticky page header

Created on 20 December 2024, 3 months ago

Problem/Motivation

I have a bootstrap based frontend theme and the page header set as sticky (https://getbootstrap.com/docs/5.3/helpers/position/#sticky-top). The item menus of the secondary toolbar are partially hidden by the page header if not scrolled and the secondary toolbar is completely hidden by the page header if scrolled:



Page not scrolled, toolbar menu overlapped, menu color changed for demonstration purpose.



Page scrolled, secondary toolbar overlapped (Customer logo blurred).

Steps to reproduce

Install a bootstrap 5 based theme (like bootstrap_barrio) and apply the sticky-top class to the page header or apply the corresponding styles to the page header without any specific theme:

.sticky-top {
  position: sticky;
  top: 0;
  z-index: $zindex-sticky;
}

The $zindex-sticky is 1020 according to https://getbootstrap.com/docs/5.3/layout/z-index/.

Proposed resolution

Set the z-index of the gin-secondary-toolbar--frontend class to a value higher than the conflicting values from the bootstrap theme i.e. 2000 or at least 1100.

🐛 Bug report
Status

Active

Version

4.0

Component

User interface

Created by

🇦🇹Austria mvonfrie

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

Comments & Activities

Production build 0.71.5 2024