Change width of page to fit AdSense banner

New
edited November 2011 in Vanilla 2.0 - 2.8
Hi all, Can you please provide tips on how to change the width of the default forum page so that we can perfectly fit AdSense Banner 728x90 in the homepage. I think this can be done by reducing the gap between the two columns but how to do this.

Help will be much appreciated.

Thanks

Best Answers

  • ✭✭
    Answer ✓
    I ended up making my own theme for this change, which modifies the base theme with the following css entries:
    #Body {
    width: 990px;
    }

    #Content {
    width: 730px;
    }

    body.Profile #Content {
    width: 730px;
    margin: 0 0 40px 10px;
    }

    There was an error rendering this rich post.

  • ✭✭
    Answer ✓
    if you're modifying the default css in vanilla, try putting it at the bottom of the css file

    There was an error rendering this rich post.

Answers

  • CSS i would say. check the CSS you have used in your theme folder or check for style.css

    There was an error rendering this rich post.

  • ✭✭
    Answer ✓
    I ended up making my own theme for this change, which modifies the base theme with the following css entries:
    #Body {
    width: 990px;
    }

    #Content {
    width: 730px;
    }

    body.Profile #Content {
    width: 730px;
    margin: 0 0 40px 10px;
    }

    There was an error rendering this rich post.

  • @ddumont, I tried your code and replace the entire line form 1322 to 1331. I got error message [object Object]. As Im a newbie here, can you tell me in Steps how and where to place this code?
  • ✭✭
    Answer ✓
    if you're modifying the default css in vanilla, try putting it at the bottom of the css file

    There was an error rendering this rich post.

  • @ddumont, perfect. Thanks.
  • create your own theme don't edit the default css.

    grep is your friend.

Sign In or Register to comment.