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

XenForo Overlay Position

Discussion in 'XenForo Development Discussions' started by xf_phantom, Aug 14, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    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 )
     
  2. xf_phantom

    xf_phantom Well-Known Member

    That's what i mean:
    ov.png
     

Share This Page