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

XF 1.4 Put all CSS in one template (extra.css)?

Discussion in 'XenForo Questions and Support' started by Betclever, Mar 21, 2015.

  1. Betclever

    Betclever Active Member

    Hello all,

    Is there any possibility to merge all CSS file in one file and put all of the forum CSS content inside 1 stylesheet like extra.css?

    Is it better for performance and is it advised to do or not?
    Any impact on security, perf,...?

    Thanks.
     
  2. Amaury

    Amaury Well-Known Member

    It's generally better to put all of your custom CSS changes in EXTRA.css as it's better organized and also not affected by updates.

    Additionally, if you make other styles with the same type of customizations, but don't exactly want to make them children, you can copy all of your custom CSS from one template rather than going through each CSS template you customized.
     

Share This Page