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

XF 1.5 Sidebar in thread_view template: width problem

#1
Hi everybody,

I'd like to add the sidebar to the tread_view template, exactly like in @Slavik 's forums, but I'm having a problem with its width, that has to be different from the main sidebar's one.

This is what I've done:
1) I added this at the end of the thread_view template
Code:
<xen:sidebar>
</xen:sidebar>
2) To change the sidebar width in the threads, I put
Code:
thread_view .sidebar {
width: 180px;
}
in EXTRA.css

3) The main sidebar width is located in Style Properties: Sidebar, and it's 300px

4) It has to be mentioned that I am running UI.X framework from @ThemeHouse

Result: nothing changes, it stays 300px wide. Why?

Thanks
 

Brogan

XenForo moderator
Staff member
#2
You missed a . from the CSS.

Code:
.thread_view .sidebar {
width: 180px;
}
If that doesn't work, you will need to ask in the style thread as something is likely overriding it or the CSS is non standard.