• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 What is the trick to get extra.less to work?

AndyB

Well-known member
#1
How come when I add the following to extra.less it's not working.

1507095274882.png

I was expecting that when I switch to the Default style dark I would see a black background.
 

HWS

Well-known member
#2
Since you are changing html it could be that another element over it (like body) takes style precedence. You should not only check the visual of the site, but inspect the HTML element directly with some developer tool in the browser to check if it works or not.
 

AndyB

Well-known member
#4
Since you are changing html it could be that another element over it (like body) takes style precedence.
I've tried changing several elements, nothing works.

You should not only check the visual of the site, but inspect the HTML element directly with some developer tool in the browser to check if it works or not.
I have looked using the Inspect Element, no changes are made to the elements.
 
Last edited:

AndyB

Well-known member
#6
I found the problem. It was a Template modification issue.

Thank you HWS, your suggestion pointed me correctly.