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

XF 1.5 apply custom css code globaly throughout all themes?

#1
i wish to place global change to every theme i have installed on my site and any future new themes that get installed, now i would usually edit the master style extra.css but last time i put something in there it got erased by updates or re-importing the core master data..

is there another template i can target? preferably a css template that loads in with every page.

also when I try to do via Regular expression on EXTRA.CSS

Find: /^.*$/s (I'm not good with these I just copied this from some other add-one)

and replace with this:

Code:
.fa {
    font-family: FontAwesome !important;
    }
load order 10 (maybe change different load order?) - some 1 explain load order in detail 4 me?

but then this break my custom CSS in the extra.css for 1 of my themes:

Code:
.nodeList .categoryStrip .nodeDescription {
    color: orange !important;
    font-size: 10px !important;
    text-shadow: 0 0 10px black, 0 0 13px black, 0 0 15px black !important;
    }
is now broken, is there a way to get around this? is there something I can globally edit without breaking any of my other css?

maybe expression wrong? any know how to target a blank page?
which the built in TMS had a simple inject mode function to inject any code you want at the bottom of what ever template you are targeting.
 
Last edited:

Brogan

XenForo moderator
Staff member
#2
The master style is the only one which will affect all others.

You could consider creating an add-on which will apply a template modification (to the master style) which will subsequently apply to all styles.