Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1149902

    Hi.

    Pretty new to this stuff so bear with me please. We’re trying to integrate some Adsense ads onto our site. We’ve set up two ad units so far in the Adsense. One with a set size, the other responsive:

    After setting up Adsense we can get the ads to display no problem by pasting the supplied code into a code block.

    The layout we want them to fit into is a 1/3 column next to a 2/3 column. We placed the code block with the code for the set size ad in the 1/3 column. However, the ad isn’t responsive (obviously, it being a set size) so we we set up a responsive ad and pasted the code for this in, thinking it’d display the ad in the column.

    However, the ad seems to ignore the 1/3 container and just make the ad the whole width of the site, running it over text we have in the 2/3 column. I had a quick search around for how to make the ad fit a specific container but I couldn’t find a solution. Basically, we’d like an ad in the 1/3 column that is responsive and doesn’t break the layout.

    Is there some css that’ll fix this? Or is there a better way to insert the code than in the code blocks? Or is this a case of use setting up the Adsense units badly?!

    Any help would be appreciated.

    Thanks

    #1150030

    Hey alecmjoynes,

    Google ads have fixed layout dimensions as far as I know, so I’m not sure if there is a CSS solution. But send us a link to where we can see the problem in question and we’ll have a closer look at it.

    Best regards,
    Rikard

    #1150102

    Thanks Rikard,
    You got an email and I can send you some temp log in details?

    #1150350

    Hi,

    Please provide all necessary details in the private content box of your reply here in the thread, otherwise it won’t be available to all moderators.

    Best regards,
    Rikard

    #1150475

    I’ve put div tags around the code in the code blog and added some CSS, which appears to have sorted out the width issue. However it seems to ignore any height, meaning on the homepage the 1/3 width ad under the word ‘reviews’ often runs over content below.

    …Any ideas?

    #1150717

    Hi,

    Thanks for the update and login details, I can’t see any ads on the front page though. Where can we see the problem?

    Best regards,
    Rikard

    #1150810

    advert on home page

    Under the word ‘REVIEW’, roughly half way down the page. (There’s another one at the bottom, but that’s full width and doesn’t interfere with other content.)

    Thanks for your patience so far.

    #1150815

    advert location in ALB

    Thought it might help to show you what you’re looking for in the ALB.

    #1150817

    displaying the issue

    This shows the issue. More often than not, refreshing the page fixes the issue.

    #1151052

    Hi,

    Thanks for the clarification, I’m not able to reproduce the problem using Chrome though. Please see screenshot in private. Is this happening in a specific browser only maybe?

    Best regards,
    Rikard

    #1151143

    Hi.

    No, it’s happening on chrome and safari. I guess it’s good you can’t see it in a way…

    #1151311

    Hi,

    Thanks for the update, I see the problem using Safari as well. I see that you have added .avia-section in the ID for all your sections. Could you please remove that so that we can give you CSS in order to target that section only?

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.