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

XF 1.1 how exactly to update template code

BenForum

Active member
#1
this is a conversation.css which is marked as outdated template by xenforo

.conversation_view .messageList
{
border: 1px solid @primaryLighterStill;
border-left: none;
border-bottom: none;
padding-right: 10px;
border-top-right-radius: 10px;
}

.conversation_view .message:first-child
{
border-top: none;
}

.conversation_view .message .newIndicator
{
margin-right: -15px;
}

.conversation_view .quickReply
{
border-top: none;
}


after reverting it become


.conversation_view .messageList
{
border: 1px solid @primaryLighterStill;
border-left: none;
border-bottom: none;
padding-right: 10px;
border-top-right-radius: 10px;
}

.conversation_view .message:first-child
{
border-top: none;
}

.conversation_view .message .newIndicator
{
margin: 0 -15px 0 0;
}

.conversation_view .message .attachment
{
width: 49.5%;
}

.conversation_view .quickReply
{
border-top: none;
}
now what values should i change in this template to make it fully compatible with latest xf version
 

Chris D

XenForo developer
Staff member
#2
Those two templates are exactly the same.


Code:
.conversation_view .message .newIndicator
{
margin-right: -15px;​
}

is the same as:

Code:
.conversation_view .message .newIndicator
{
margin: 0 -15px 0 0;​
}
 

Chris D

XenForo developer
Staff member
#5
then why it is marked as outdated template

there is some extra code after reverting the template
Well, to be more accurate, they have the same effect but obviously the code is different.

They will be outdated because either you've changed them or they were changed in the style you've downloaded or bought. The 49% width might have been one of the changes the XenForo devs made. Once reverted there's not much to worry about.

Any CSS changes should be made to EXTRA.css