Search…

X3 Photo Gallery Support Forums

Search…
 
metallissimus
Experienced
Topic Author
Posts: 331
Joined: 17 Oct 2019, 06:54

Color in menu changing

18 Aug 2021, 05:39

Hello,

on https://hochzeiten.danielbollinger.de/ the color of the menu items slowly becomes a bit brighter whenever you don't use the menu for a time. Unfortunately because of the relatively thin font that makes the menu hard to read. I tried several ideas in custom CSS to make it permanently darker but none of them worked. How can I get rid of that brightening?
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Color in menu changing

18 Aug 2021, 05:50

That effect is by design, intended to fade out the menu when "not in use". As you will find, the menu fades back in again once you either 1) Mouse over the sidebar or 2) Scroll to top. I think it's rather intuitive, but on the other hand, I can see why this effect may be unnecessary and counter-produtive in some cases. You can disable it from Settings > Custom > Custom CSS:
Code
.sidebar .menu {
  opacity: 1 !important;
}
 
metallissimus
Experienced
Topic Author
Posts: 331
Joined: 17 Oct 2019, 06:54

Re: Color in menu changing

18 Aug 2021, 05:56

Aaah, I never thought about opacity, I was so focused on color. Thanks!

I understand the idea behind it, if I had a somewhat thicker font I guess it would work just fine.
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography