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: 1329
Joined: 2019-04-24, 09:38

consorsbank.de menu bar

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
Astronaut
Astronaut
Posts: 557
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: consorsbank.de menu bar

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.

User avatar
Pentium4User
Board Warrior
Board Warrior
Posts: 1329
Joined: 2019-04-24, 09:38

Re: consorsbank.de menu bar

Post by Pentium4User » 2025-02-16, 14:35

Is that a PM problem or a non-standard compliant website?
The profile picture shows my Maico EC30 E ceiling fan.

User avatar
Moonchild
Project founder
Project founder
Posts: 38690
Joined: 2011-08-28, 17:27
Location: Sweden

Re: consorsbank.de menu bar

Post by Moonchild » 2025-02-16, 16:35

Pentium4User wrote:
2025-02-16, 14:35
Is that a PM problem or a non-standard compliant website?
It's a PM problem in that we don't (yet) support these script-like CSS calculations.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite