Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[Solved] Disabling Ajax forms or changing their positions?

DirtyDogDirtyDog ✭✭
edited October 2011 in Vanilla 2.0 - 2.8
I have a content site with ads that I am integrating Vanilla with. Unfortunately many of the Ajax layer forms end up partly under Flash ads making them unusable. Flash ads are even pretty common in Adsense these days so these layer forms aren't a good fit for an ad-supported site. So first question is can I turn off the Ajax forms and just have each form on its own page? If not can I change the position of the layer forums so that they are not overlapping the ad space?

Best Answer

  • Options
    sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    Answer ✓
    in CSS every property declaration should be once like you have top:200px !important and top:0 - top property is declared twice.
    you should remove top:0

    There was an error rendering this rich post.

Answers

  • Options
    Still needing an answer on this.
  • Options
    sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    edited October 2011
    you can change the position using CSS.

    in your CSS just define div.Popup { top:200px !important; }
    !important to override everything

    Change the 200px to the top positioning you want. also you can specify
    Left , Right 
    or anything you like. do not forget to add !important

    There was an error rendering this rich post.

  • Options
    I'm not a css expert so please excuse my further questions. My div.popup looks like:

    div.Popup {
    top:200px !important;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5000;
    text-align: center;
    }

    Where I added your line at the top. I do not see a change in the popup position. Do I need to alter or remove another line there?
  • Options
    sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    Answer ✓
    in CSS every property declaration should be once like you have top:200px !important and top:0 - top property is declared twice.
    you should remove top:0

    There was an error rendering this rich post.

  • Options
    Awesome thanks!
  • Options
    sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    you welcome :) cheers

    There was an error rendering this rich post.

Sign In or Register to comment.