Support » Themes and Templates » An Ad In the main text area sidebar

  • Resolved IlanK



    I’m using the Ari theme and my website is
    As you can see, I lowered my main content and my right sidebar down below my left sidebar.

    I would like to put an ad in this space. I don’t think this ad is small enough to fit in just the main area.

    How do I do this?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Alright, I put it in the index.php and that worked. I used style.css to move the content.

    I can’t figure out how to right align it though. The style.css seems to have no effect.

    You need to style the div “adtop” in the CSS.

    First, you have it in the style.css as a “class”…

    .adtop {
    	margin-left:200px !important;

    …yet in the HTML, it is an “id”…
    <div id="adtop">

    Change the CSS to “id” and give it the same width as the content and then an appropriate left margin to push it to the right.

    Works, thanks!

    You’re welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘An Ad In the main text area sidebar’ is closed to new replies.