[Resolved] Display ads on Container Wrapper

Home Forums Support [Resolved] Display ads on Container Wrapper

Home Forums Support Display ads on Container Wrapper

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1412892
    Nam

    Hi,
    Im trying to display ads next to the main site, like this (in red): Techradar Ads
    How can i do that? (I think the Container Wrapper can do the job, but i don’t know how).
    Please, Help me.

    Link picture: https://drive.google.com/file/d/19vBJgzoLaa5bqwCor-M4fw8uVEkXQQqS/view?usp=sharing

    #1413263
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I think using the wrapper is a good idea.

    Then, you can try this as long as the ad container is inside the wrapper:

    .site-wrapper {
        position: relative;
    }
    
    .your-ad-container {
        position: absolute;
        top: 0;
        left: -200px; /* width of ad */
    }

    Let me know 🙂

    #1413391
    Nam

    Hi Tom,
    I did what you told. But my ad-container keeps getting display: none even i set it
    .my-ad-container {
    position: absolute;
    top: 0;
    left: -200px; /* width of ad */
    }
    Picture
    1. https://drive.google.com/file/d/1WkDUI4Q6-3nWAZ1R_4Wee7hMf7unT5Oz/view?usp=sharing
    2. https://drive.google.com/file/d/1LsPGVN3MI62GKDR7eJxyD3pp-6CLB_6Z/view?usp=sharing

    I try adding display: block (or inline-block) !important; to .my-ad-container but i’t not working either.

    #1414012
    Tom
    Lead Developer
    Lead Developer

    There must be some javascript on the page doing that.

    You could display: block !important it in the CSS.

    #1414030
    Nam

    I have already tried display: block !important.
    I gonna take a look at the javascript.
    Thank you Tom.

    #1414170
    Tom
    Lead Developer
    Lead Developer

    No problem – something is targeting that element and hiding it. Best to deactivate things one by one until you find the culprit.

    #1756317
    Ashley

    Hi Tom – any chance you can help walk me through how to do this too? I followed the instructions on the Container Wrapper page, but my ad (using adrotate pro and Background Takeover plugins) is still not displaying on my homepage. Currently working in a staging site, so you can’t view it, but our live site is what I’m trying to accomplish as far as the background ad (localemagazine.com)
    Thank you!

    #1757122
    David
    Staff
    Customer Support

    Hi there,

    might be best to raise a new topic – and is it possible to see the staging site with ad plugins enabled? so we can see what they are doing ?

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