Re: using grid_3 sidebar for ads - not showing on right top but below main content

Marco van den Oever <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
Yes indeed, 160x600.
I had placed some text between <aside> and that also went under the content.

I can place one 160x600 ad under this code:

<div class="container_12">

then it's showing on the right, but if i ad another and the 2 ad heights 
are longer then the news article, they are showed under the content, but 
that's normal behaviour, so that's no solution

When i place the code in content it is placed above or below, depending on 
where i put it.

What i do notice with Firebug is that i even can't detect the grid_3 
sidebar div, as if it's not there, but in the source i can see:

<div class="grid_3 content">


So that must be the problem, if there is no grid_3 sidebar div detected it 
isn't there somehow??

I don't really know what's going on as i created the new homepage without 
any problems.

Op zaterdag 23 februari 2013 04:22:43 UTC+1 schreef Justin Carter het 
volgende:
>
> Hmmm, so it's only a 160x600 ad? That should have fit perfectly fine the 
> way you had it the first time.
>
> If you just place some text inside the <aside> and remove the ad code does 
> it lay out correctly? What happens if you put the ad embed code in the 
> content div? I wouldn't expect the embed code to be doing something weird 
> that would affect the layout. 
>
> To try to debug it you might need to use Firefox + Firebug or the Web 
> Inspector in Chrome. You should be able to inspect the sidebar element and 
> all the elements inside it, and see if any of them are too wide. Perhaps 
> for some reason there is some padding or margin getting applied that 
> shouldn't be.
>
> cheers,
> Justin
>
>
> On Sat, Feb 23, 2013 at 11:59 AM, Marco van den Oever <
> [email protected] <javascript:>> wrote:
>
>> Hi thanks, I indeed knew about the grid layout but i still run into a 
>> problem, i have:
>>
>> <div class="grid_7 content">
>>                 <skin:view typename="#stobj.typename#" objectid=
>> "#stobj.objectid#" webskin="displayBody" />
>>             </div>
>>             <div class="grid_5 sidebar">
>>                 <aside>
>>                         <div style="width:160px; background-color:
>> ##CCCCCC">
>>                         <script type="text/javascript"><!--
>>
>> google_ad_client = "xxx";
>>
>> /* 160x600, gemaakt 16-12-08 */
>>
>> google_ad_slot = "xxx";
>>
>> google_ad_width = 160;
>>
>> google_ad_height = 600;
>>
>> //-->
>>
>> </script>
>>
>>                             <script type="text/javascript"
>>
>> src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
>>
>> </script>
>>
>>
>> and still see the ads left below the main content, under my main content 
>> is a disqus comment box, is it possible that is interfering with the layout?
>>
>>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.