Recent Topics

1 Aug 30, 2005 20:57    

How can I put adsense or other ad links in the sidebar?

2 Aug 30, 2005 22:17

You can edit your sidebar by editing the _main.php file in the folder that belongs to the skin you are using. So, if you have Custom set as your default skin, then go to /skins/custom/_main.php. The file is well commented, so you should be able to tell where the sidebar begins and ends. A quick [url=http://forums.b2evolution.net/search.php?mode=results]search[/url] shows that Adsense has been discussed quite a bit here. Read through those threads and see if they help.

3 Aug 31, 2005 01:21

Thanks I read the other threads and put the adsense beside the menu on the right as shown in the Prison Blog thread. However in blue sky you can't see it unless you scroll over to the right.
Is there a way of adjusting the size of the post so all can be seen ont he screen?
http://www.winwithebay.com/blog

4 Aug 31, 2005 03:07

Open up cielbleu.css and change this:

#main {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; MARGIN: 0px 33ex 0px 10px; PADDING-TOP: 10px
}


to this:

#main {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; MARGIN: 0px 48ex 0px 10px; PADDING-TOP: 10px
}


and this:

#menu {
	BORDER-RIGHT: #999 1px solid;

[/code]
to this:

#menu {
	margin-right: 16ex;
	BORDER-RIGHT: #999 1px solid;

5 Aug 31, 2005 03:54

Thank you. I had to adjust the numbers a little more. Looks good now. I settled on #main Margin: 0px 60ex and #menu....margin-right: 20ex;
Thanks so much :D

6 Aug 31, 2005 04:01

Looks good. I had to disable the Adblock extension in Firefox to see your ads. I'm turning it back on now.


Form is loading...