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

Help, extra border added to right of forum home.

Discussion in 'Styling and Customization Questions' started by Richard Peters, Jan 4, 2012.

  1. Hi all, I am just in the process of building my first forum. I've not really done much to it yet other than change a few things in the styling area of the ACP. And in doing that, I seem to have added a border/margin of some sort to the man forum home page. No matter what size browser I view the forum in, there is a scroll bar at the bottom to scroll across as there is an extra border of about 20 pixels or so to the far right.

    This goes away though in every other part of the forum, it's only present on the home page. I expect I've changed a margin or padding somewhere in the ACP but I can't figure out where!

    Any help appreciated. Forum is closed at the moment but if needs to be open for someone to look at the problem then I can open it up for a minute.

    Many thanks
    Richard
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you PM me the URL I can take a look.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    The last block on the sidebar with the Twitter follow button has a 300px wide iframe.

    Your sidebar is only 250px wide.
     
  4. Thank you so much! I'll try and figure out where I need to change that back now. If I get stuck, I'll come back, but want to try and figure it out myself so I learn something from this lol

    Thank you again for the speedy reply!!
     
  5. It's no good, I can't figure out how to change it to 250px. Any pointers appreciated!
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    I would need to see how you have added the code, but it may be part of the iframe and not possible to change it.

    If you can provide an admin login I can take a look.
     
  7. I followed this thread

    If you need admin login still I can provide one :)
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Ah, simple fix then.

    Just change the widget dimensions to 250px or less, depending on the width of your sidebar, less any padding and margin.

    If you PM me a log in I can sort it for you.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    All sorted.

    I've edited the twitter_feed template to add the width using data-width="250px".
     
  10. Massive thanks! Quite the learning curve with this Xenforo business. Enjoying it though :)
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

  12. Ah right ok! Good to know. I'll bookmark that for future ref!
     

Share This Page