Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Configure header area for adsense (http://forum.bytesforall.com/showthread.php?t=5442)

debeerj Jan 22, 2010 03:34 AM

Configure header area for adsense
 
I have read various posts about adsense in the header area. I want to put adsense to the left of my header image in the same line where there is a open white space. My header image is aligned to the right.

I used the header config below:

%bar1 %logo %bar1 <table><tr><td>Google Code</td><td>%image</td></tr></table> %bar2 %pages.

The header image does not show. If I replace it with text, I do see the text. I made the image very small to ensure it fits.

What am I doing wrong.

juggledad Jan 22, 2010 05:14 AM

all that would do is display the words 'Google Code'

Putting the adsense above or below the header image is easy, but once you get to the point of wanting to start messing with the layout of the header area, you have to have a little understanding of html and css. You will need to recreate teh header area manually. You could use the 'New Widget Areas' to create two widget areas in the header and put your image in one and the AD in the other. You will need two text widgets, You will have to look at a page and view the source, grab the header html and put that in the text widget for the image side and then put your adsense code in the other widget.

debeerj Jan 22, 2010 05:38 AM

Where can I find the code for the image?

juggledad Jan 22, 2010 05:44 AM

in your browser, view your home page. Then using the browsers 'View Source' look at eh source of the page. (This is why you will need to know some HTML) look thru the code for the header area and you will find the code there.

debeerj Jan 22, 2010 06:31 AM

I got it right like this. It is only one image. Will I need a java script to get a rolling image with a number of images?

%bar1 %logo <table><tr><td>test1</td><td><img src="url"/></td></tr></table> %bar2 %pages

debeerj Jan 22, 2010 07:24 AM

I changed it more like I want it but now I need a rolling image. Any ideas?

%bar1 %logo <table width=1260 height=300><tr><td width=260>Google code here</td><td align=right width=1000><img src="url"></td></tr></table> %bar2 %pages


All times are GMT -6. The time now is 04:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.