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

XenForo Overlay Position

xf_phantom

Well-known member
#1
I'm creating a big overlay, which i want to place on the left side instead of having it fixed centered

I've tried
Code:
XenForo.createOverlay(null, mydata, options)
  .load()
  .css(
  {
  left: 10,
  top: 10
  });
but it's still centered:/

i've tried to add NoFixedOverlay to the code, because of
Code:
      if ($templateHtml.is('.NoFixedOverlay'))
       {
         fixed = false;
       }
but it didn't change anything:/



Anybody knows if there's a way to get this (i would prefer to place it to the left, instead of having it centered and have scrollbars (because i would have to use the overlayScroll class )