Forums / Templates, Stylesheets, Page Layout / placing banners in custom position

placing banners in custom position

Views: 628

Results 1 to 6 of 6
29 Apr 2011, 10:37 PM
#1
inestine avatar

inestine

New Zenner

Join Date:
Aug 2010
Posts:
51
Plugin Contributions:
0

placing banners in custom position

I'm trying to place bannerone into my custom header, but am having some trouble.
I've rewritten the code into header.php and it pops up fine. Problem is I can't get it to line up with my other element.

here's an example:

supposed to look like: https://www.phgmag.com

Looks like https://www.shopphgmag.com

Also, I need to remove the top, default bannerone once I get this placed. Any ideas?

Thanks

2 May 2011, 11:30 PM
#2
inestine avatar

inestine

New Zenner

Join Date:
Aug 2010
Posts:
51
Plugin Contributions:
0

Re: placing banners in custom position

Nothing? Not Possible? Give up?

I'm going to try to put it all in a table and see where that gets me...

3 May 2011, 2:10 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: placing banners in custom position

Now I see a banner on the right of the phgmag site and not on the shopphgmag site. Using a table should not be necessary; if you code and style it correctly, a div will work the same or better.

3 May 2011, 7:15 PM
#5
inestine avatar

inestine

New Zenner

Join Date:
Aug 2010
Posts:
51
Plugin Contributions:
0

Re: placing banners in custom position

Sorry, I missed your previous post. Earlier I simpy added the image with link to make it look right. It really wasn't "bannerone."
Ok, I got it to work, but It's still overlapping instead of side by side. I'm really close I think. Can you see what I'm missing?

Thanks

4 May 2011, 9:28 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: placing banners in custom position

You could add something like this to the stylesheet and adjust the '0' values to taste:

#bannerOne {position: absolute; top:0; right:0;}

but I can't tell for sure because that site is completely hosed in Firefox 4.