• Hi there.

    I tried following the faq:
    http://wordpress.org/extend/plugins/wp125/faq/
    It doesn’t seem to help (since there is enough space).

    The problem seems to be in the “float” element in the css.
    If I set it to:
    float: right
    Then there are two columns, but the space in the bottom of the sidebar breaks (meaning, the ads slide over to the next widget).
    And if I remove the float element, the sidebar is fine, but the ads are just in one column.

    Any ideas ?

    Thanks,
    Tal

Viewing 13 replies - 1 through 13 (of 13 total)
  • You can clear the float (to prevent the overlapping widget problem) by opening the wp125.php file and find:

    } else { echo '<div class="wp125ad'.$altclass.'"><a href="'.$setting_buyad_url.'" rel="nofollow"'.ADLINK_EXTRA.'><img src="'.$setting_defaultad.'" alt="" /></a></div>'."\n"; }
    }
    echo "</div>\n";

    Then add to it so it looks like this:

    } else { echo '<div class="wp125ad'.$altclass.'"><a href="'.$setting_buyad_url.'" rel="nofollow"'.ADLINK_EXTRA.'><img src="'.$setting_defaultad.'" alt="" /></a></div>'."\n"; }
    }
    echo '<br style="clear:both" />';
    echo "</div>\n";
    Thread Starter talgalili

    (@talgalili)

    redwallhp,
    It worked great – thank you very much !

    Hi I have iNove theme installed.

    in sidebar width is 300px. I tried above all but stil my ads showing in one column.

    Any help please.

    @murali.fbf, Try reducing the padding around the ads. (See the plugin FAQs.)

    Hi RedWall,

    I got it.
    Thanks mate.

    Hi! I have greatly benefited from this forum post. Thank you SO much.

    redwallhp OR someone else – I went into the code looking for the padding code #wp125adwrap_2c .wp125ad { padding:10px; } (I realize where I DO find it – that I need to change the 10 to something else, as listed on then FAQ page and can’t find it. WHERE can I find it?? Please…THANKS!!

    It’s in the wp125/wp125.css file.

    Hi again!!

    All I can find is the wp125/wp125.php file and wasn’t able to locate the code?? Sorry for being a pain, I REALLY appreciate your help. Thanks in advance.

    You need to use FTP, the internal plugin editor will only let you edit the root plugin file, though WP 2.8 is supposed to fix that…

    Thank you Thank you Thank you!! I REALLY appreciate your help redwallhp. Have an amazing weeked.

    Hello RedWall,

    I also am unable to get 2 columns in my left sidebar. I have tried the following:

    – CSS file: decreasing padding to 2px
    – CSS file: increasing width to 280px
    – PHP file: inserting the echo ‘<br style=”clear:both” />’; code
    – left sidebar width increased to 280px

    Nothing works. I do not have supercache either.

    Any ideas?

    Thank you,

    bevoost

    Interesting…I just decreased the width in CSS file to 125px…now everything works beautifully! So, for others who are experiencing the 2 column issue:

    1) WEBPAGE SIDEBAR: decrease padding (e.g. to 5px),
    2) WEBPAGE SIDEBAR: increase width (e.g. to 268px)
    2) CSS FILE: decrease padding (e.g. to 2px)
    3) PHP: insert the code: echo ‘<br style=”clear:both” />’;

    (see redwall’s first response on this page)

    Cheers!

    bevoost

    THANKS.
    This page was the most helpful I could find.
    Bye everyone

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘wp125 plugin problem – My ads don’t appear in two columns’ is closed to new replies.