Skip to:
Content
Pages
Categories
Search
Top
Bottom

Float an 160×600 ad for the user pages


  • madloki
    Participant

    @madloki

    Hello,

    i would float an adsense blog right:0px; on every userpage (members/admin/profile/ etc.) and this works. But theres some problems, i put the code above

    <?php do_action( ‘bp_after_user_bar’ ) ?>

    in the userbar.php with this css

    { width:160px; height:600px; overflow:hidden; position:absolute; right:18px; margin-top:35px; }

    and give this the css class

    .internal-page #content { margin-right:160px; min-height:650px; }

    for an margin from the right side.

    Looks good and works fine BUT…the margin is on every page with the #content class. Not so good :o) Is there an extra container for the userpages?

    I would do:

    .internal-page #content #adblock

    for only margin on this pages. But i dont know the page, where i can change this :-(

    Big thanks!

    regards Markus :)

  • The topic ‘Float an 160×600 ad for the user pages’ is closed to new replies.
Skip to toolbar