consorsbank.de menu bar

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Pentium4User
Board Warrior
Board Warrior
Posts: 1298
Joined: 2019-04-24, 09:38
Contact:

consorsbank.de menu bar

Unread post by Pentium4User » 2025-01-19, 06:37

Hello!

https://www.consorsbank.de/home

The black menu bar opens a menu that is unreadable.
In Edge the background is black, but this doesn't appear in PM, so the white fonts are almost unreadable.

kind regards
Marco
The profile picture shows my Maico EC30 E ceiling fan.

User avatar
adoxa
Lunatic
Lunatic
Posts: 339
Joined: 2019-03-16, 13:26
Location: Qld, Aus.
Contact:

Re: consorsbank.de menu bar

Unread post by adoxa » 2025-01-20, 12:35

It uses CSS min/max/clamp along with :has, which is what I think is setting the background. Here's a Modify HTTP Response filter to work around them (min & max use the right value; clamp uses the middle; sets the background explicitly, not quite how it should, but good enough).

Code: Select all

[["www.consorsbank.de",["/styles\\.css/",["/([^n])(?:min|max)\\([^,]+,/g","$1calc(","/clamp\\([^,]+,([^,]+),[^)]+\\)/g","calc($1)","var(--nav-sec-bg)","#403f3d"]]]]
Note: you may have a previous filter, which you should remove.

Post Reply