WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. IlanK
    Member
    Posted 1 year ago #

    Hi,

    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?

    Thanks!

  2. IlanK
    Member
    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
    Member
    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
    Member
    Posted 1 year ago #

    Works, thanks!

  5. Dave
    Member
    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic