Ready to get started?Download WordPress


[resolved] An Ad In the main text area + sidebar (5 posts)

  1. IlanK
    Posted 1 year ago #


    I'm using the Ari theme and my website is http://www.payitforwardfriends.com.
    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?


  2. IlanK
    Posted 1 year ago #

    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.

  3. Dave
    Posted 1 year ago #

    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.

  4. IlanK
    Posted 1 year ago #

    Works, thanks!

  5. Dave
    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic