Search…

X3 Photo Gallery Support Forums

Search…
 
nuno.cruz
Topic Author
Posts: 7
Joined: 04 Jun 2025, 05:08

What can go wrong for my custom css not to take effect

14 Jan 2026, 04:03

When I create a new CSS rule in the. custom CSS panel, the default rules still stay in place. 

Why is this happening? I expect everything that I defined there to be the last thing to load and override anything else that is default. 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: What can go wrong for my custom css not to take effect

14 Jan 2026, 08:54

I can't know that without seeing the link or what CSS is used. Normally, custom CSS will apply after default CSS, but it also depends on rule specificity. For example .parent .child {} will override just .child {}.

You can send a link to karl @ photo.gallery if you don't want to post here.