Not Solved Side ads for Apart
#1
Not Solved
Hi

I'm trying to place 120px width ads in Apart theme (left and right). Can someone help me how to do that?

P.S Picture of what i'm trying:
   
Reply
#2
Not Solved
You might try putting them in the header. Just tack them on at the end:

<div class="float_left">
<!-- Left ad code -->
</div>
<div class="float_right">
<!-- Right ad code -->
</div>

Note that this is completely untested so I don't know how well it works. It's worth a try, though.
[Image: LogoO.png]
Reply
#3
Not Solved
(2010-08-23, 04:20 PM)Firestryke31 Wrote: You might try putting them in the header. Just tack them on at the end:

Header end was not the place, but below <div id="content"> maby right?

Below <div id="content"> (header):
<div class="left_ad">Leftad</div>
<div class="right_ad">Rightad</div>

And global css:
.left_ad {
	width: 120px;
	float: left;
	height: 600px;
	border: 1px solid black;
}

.right_ad {
	width: 120px;
	float: right;
	height: 600px;
	border: 1px solid black;
}

Ad's are in correct places but middle div wrapper drops down. Image below.
   
Reply
#4
Not Solved
Try moving it above the content div.
Reply
#5
Not Solved
(2010-08-23, 05:18 PM)AJS Wrote: Try moving it above the content div.

Noup, same thing, middle wrapper drops down, just like in the picture.
Reply
#6
Not Solved
Lower the width px and try a absolute position.
[Image: eyadHiR.png]
Reply
#7
Not Solved
Try putting the three them in tables encompassed in a container table. I know it sounds a bit outdated putting non-tabular content in tables but that's the only way I've found something like you have there work without breaking the layout.
Reply
#8
Not Solved
(2010-08-23, 05:52 PM)Sukanjan.K Wrote: Lower the width px and try a absolute position.

Did not work.

(2010-08-23, 05:54 PM)Ferron Wrote: Try putting the three them in tables encompassed in a container table. I know it sounds a bit outdated putting non-tabular content in tables but that's the only way I've found something like you have there work without breaking the layout.

Can you give me example of this method?
Reply
#9
Not Solved
i just add a table, tr, td, left content, /td, td to the end of header template

and

/td, td, right content, /td, /tr, /table to the top of the footer template.

just specify the proper width for the two new columns and you are all set. this at least will not break the layout in most case
Lost interest, sold my sites, will browse here once in a while. It's been fun.
Reply
#10
Not Solved
The problem is that there's a <br class="clear" /> somewhere in the header that pushes the rest of the page below the ads. I was hoping that putting the ads at the end of the header would put them past that <br />.
[Image: LogoO.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)