Page 1 of 1

!important in X3's CSS

Posted: 10 Aug 2026, 08:44
by metallissimus
I am redesigning my website and when I was trying to setup the typography I couldn't set the font-weight for my <p> elements, it just wouldn't do anything.

So I looked into the inspector and found
Code
p {font-weight: 300 !important;}
Although I started with a fresh installation I could not rule out that some of my experiments before had caused that, so I looked into the inspector here and found the same: https://demo.photo.gallery/examples/features/sample/

How can I set my font-weight if it is overridden by default?

Re: !important in X3's CSS

Posted: 10 Aug 2026, 13:05
by metallissimus
Found it: I still had a font selected in the Style Settings. After setting this to "none" it works.