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

XF 1.2 Adding more space between the main content and the sidebar

Discussion in 'Styling and Customization Questions' started by Chi Bearhawks, Aug 18, 2013.

  1. Chi Bearhawks

    Chi Bearhawks Member

    How would this be accomplished? I have no visible section div's anymore, so it feels like the two columns are too close to each other. I tried adding padding or margins to the left of the sidebar, but that didn't work.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Add to EXTRA.css:
    .mainContainer {
    margin-right: -{xen:calc '@sidebar.width + 8'}px;
    .mainContent {
    margin-right: {xen:calc '@sidebar.width + 8'}px;
    Adjust the value to suit.
    Brad L likes this.
  3. Chi Bearhawks

    Chi Bearhawks Member

    Awesome, thanks. And what about for the left bar in member profiles and account settings?
    Bram likes this.

Share This Page