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

Not Planned XenForo 2.0 .css template hook

Discussion in 'Closed Suggestions' started by AndyB, Aug 20, 2016.

  1. AndyB

    AndyB Well-Known Member

    I would like to create add-ons which add content to .css templates. Currently there isn't a clear area in the .css template where the "Find" in Template Modifications can find code. What would be really helpful is if all .css templates would have on the first line a comment like this, using navigation.css as an example:

    Code:
    /* navigation.css template */
    
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    You can already prepend or append content to any CSS template using regular expressions if necessary, even if they are empty (like EXTRA.css).
     
    AndyB and Xon like this.

Share This Page