• Resolved kjmediadk

    (@kjmediadk)


    You marked the other thread as resolved, so i made a new.

    I want to have 2 ads (300x250px) on the same line/row. I have tried different solutions, but the ads keep appearing on 2 lines instead of 1.

    I have tried to put block 7 and 8 in the same block (block 5), men still the same result.

    i also tried to put the Ads in the same Block, but it doesn’t work – it change line evertime.

    What to do? 🙂

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Spacetime

    (@spacetime)

    Basically you can still reply to a closed thread if you started it, if it was recently closed and you still need some answer. It was closed as it was answered and I didn’t notice your reply there.

    Assuming the ad doesn’t create a block element all you need to do is to put both codes in the same Ad Inserter block. Your ad codes are wrapped with a div which creates a block so the next ad goes below. Add to both divs the following code:

    style="display: inline-block;"

    For example:

    <div id="div-gpt-ad-rectangle_1" data-google-query-id="CNe9g96c8P0CFaSCgwcdOMYFgw" style="display: inline-block;">
    Thread Starter kjmediadk

    (@kjmediadk)

    It only show 1 ad. If i put the code in, in both ads, then the rest of the page is missing.

    Thread Starter kjmediadk

    (@kjmediadk)

    I tried different ways of inserting the code you wrote, but nothing works. Either i breaks the whole theme or it shows nothing, or the ads are still in 2 lines.

    Maybe i have to find another solution.

    Plugin Author Spacetime

    (@spacetime)

    I see both ads in block 5 displayed together in a single row.

    Thread Starter kjmediadk

    (@kjmediadk)

    Yes. I had to pay someone to fix it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘2 Ads on the same line’ is closed to new replies.