Search…

X3 Photo Gallery Support Forums

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

!important in X3's CSS

Yesterday, 08:44

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?
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
metallissimus
Experienced
Topic Author
Posts: 362
Joined: 17 Oct 2019, 06:54

Re: !important in X3's CSS

Yesterday, 13:05

Found it: I still had a font selected in the Style Settings. After setting this to "none" it works.
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography