1. 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

Discussion in 'Styling and Customization Questions' started by gavpeds, May 22, 2014.

  1. gavpeds

    gavpeds Active Member

    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.

    <div class="section">
    <div class="secondaryContent">
    Content here

    See here www.windowcleaningforums.co.uk
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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.
  3. gavpeds

    gavpeds Active Member

    Is it possible to use the default code? and what is it please?
  4. gavpeds

    gavpeds Active Member

    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?
  5. Martok

    Martok Well-Known Member

    Take a look at Widget Framework which will probably allow you to achieve this more easily without fiddling with code.
    gavpeds likes this.
  6. gavpeds

    gavpeds Active Member

    Perfect thank you!

Share This Page