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

Template for CSS

Discussion in 'XenForo Questions and Support' started by Michael, Oct 7, 2010.

  1. Michael

    Michael Active Member

    Which is the best template to add your own CSS, say for example you want it to always be loaded on every page, similar to the vb additional CSS, I tried adding it to xenforo.css but seemingly it never worked on the index for me.

    Where do you add yours?

    Cheers!
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    xenforo.css should be included on every page via this code in PAGE_CONTAINER:

    Code:
    <link rel="stylesheet" type="text/css" href="css.php?css=xenforo,form,public&amp;style={xen:urlencode $_styleId}&amp;d={$visitorStyle.last_modified_date}" />
    
    Are you sure it's not working?
     
    Michael likes this.
  3. Michael

    Michael Active Member

    Just tried again, yes it is working, I was using incorrect CSS that I had backed up before converting :oops:
     

Share This Page