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

Outdated templates after upgrading: What to do?

#1
Hi,

After having upgraded to 1.1.3, the control panel says that attached_files.css is outdated (version still shows 1.1.1). How do I update it without messing things up?

Thanks.
 

Chris D

XenForo developer
Staff member
#3
MagnusB is spot on.

It sounds like you've made changes to the attached_files.css template before. Work out what these changes were, put them into EXTRA.css and then revert the template.

EXTRA.css is a spare .css template which will never be overwritten by an upgrade. You can put any CSS changes in there that you like and they'll always be applied. You may only very occasionally find that some changes in EXTRA.css don't apply. In cases like this, add !important to the end of your property.

e.g.

.message
{
color: red!important;
}

The !important will be sure to override the default behaviour.