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

XF 1.3 added sidebar but issues

gavpeds

Active member
#1
Hi all so I used the below code to add sidebar to forum_view and thread_view which works fine but just noticed on mobile i now have half the post cut off.

<xen:sidebar>
<div class="section">
<div class="secondaryContent">
Content here
</div>
</div>
</xen:sidebar>

See here www.windowcleaningforums.co.uk
 

Brogan

XenForo moderator
Staff member
#2
You will need to make allowances for the responsive design elements.

The default code drops the sidebar below the main content when the screen width reduces below a certain width.
 

gavpeds

Active member
#4
Idealy what I would like to do is have the sidebar always there on all pages and act the same as it does on index like when on mobile it drops under forum constant. If I can not get it everywhere I would at least like to have it showing on forum_view and thread_view. Is this possible and how?