Support » Themes and Templates » [Theme: Esplanade] Hijacking Ad Injection Top Ad Alignment

  • Resolved spotanime


    For some reason, something is hijacking my post top ad alignment.

    When I load the page I can see it start out as centered but then get top-left aligned within the div.

    You can see this when you load the following page:

    NBC Universal’s “Dracula” To Take A Bite Out Of SDCC 2013?

    I can’t see what’s causing this in Chrome, and I’m unable to see if it’s picking up any inherited CSS to cause this.

    Thoughts? Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • In Firefox, it looks to be in the lower right side of your header space. Is that what you want?

    Try using Firebug to see what’s going on with the CSS. Also perhaps validate your HTML and CSS in case errors may be a factor.

    No, that’s the leaderboard ad. I’m referring to what Ad Injection calls the top ad, which is the ad below the post title.

    I’m using Chrome, but I’ve also tested in IE. I’ve played around with the debugging tools in Chrome to no avail. Anyone recommend any other Chrome-based tools?

    Chrome developer tools should do the same thing — looks like this inline CSS is setting the alignment:

    .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;

    You can probably use .fluid-width-video-wrapper in your CSS to move it to the right.

    BTW, not sure if you added them, but you should avoid using <center> tags — as they are deprecated.

    I think that’s it – I believe there’s some CSS that formats rich content within the post, so anything I post in that div gets automatically converted. If I change the attributes for the attributes you mentioned, it affects the content like videos and embedded tweets.

    I’ll alert the theme developer. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Theme: Esplanade] Hijacking Ad Injection Top Ad Alignment’ is closed to new replies.