Ready to get started?Download WordPress


Possible to add items like adsense on either blank sides in connection theme? (4 posts)

  1. luna6
    Posted 8 years ago #

    Is it possible to add items like adsense on either blank sides in connection theme, if so how? thanks..I have edited the various php files where I feel comfortable doing modifications if given some tips..thanks...


  2. The_ROb
    Posted 8 years ago #

    Place adsence code either before the <div id="rap"> or after the closing tag </div> depending on the side you want it. Then create a custom div for the desired position.

  3. luna6
    Posted 8 years ago #

    thanks for the reply, i followed your suggestion and added the adsense code before <div id="rap"> and after closing tag </div> in the index.php file, but when I included it before <div id="rap">, the add would appear on the top center, and if I added it after the closing </div> ..the ad would appear at bottom center, rather then left or right. Something i missed?

  4. vkaryl
    Posted 8 years ago #

    So you're talking about in the right and left body sections outside the actual blog visual with the greyed borders, right?

    Yeah, you can do it but it is NOT EASY. I did have a hunk of code around at some point that accomplished it, it took me days of whinking around with it (wasn't connections, don't remember which theme it was now, over a year back when I first got started with wp) but I couldn't find it which was why I didn't post earlier.

    You really have to set up a 3 col theme that's 100% width and fluid. I never did get a 2col fixed width theme like connections to let me put stuff in the body sides like you want.

    Of course, I am not the world's best css coder. Someone else may have an easy way of handling this.

Topic Closed

This topic has been closed to new replies.

About this Topic