Viewing 10 replies - 1 through 10 (of 10 total)
  • This is the blackant labs ad? Yes?

    There is currently a div in the code with no class/id.

    <div>
    <a href="https://blackantlabs.com" target="_blank"><img src="https://www.dblcoverage.com/wp-content/plugins/sam-images/banner1.png"></a>
    </div>

    If you give this an id of says “advert”, so it becomes

    <div id="advert">
    ...
    </div>

    The CSS for this would be something like:

    #advert { background: #000; }
    
    #advert a {
      margin: 0 auto;
      width: 604px;
      display: block;
    }

    Image of what it should look like here: https://i.imgur.com/9zjRU.png

    Thread Starter oderuyter

    (@oderuyter)

    I can’t do it like that as its a ad rotator script that puts the image there

    what ad rotator plugin are you using?

    Never mind, sorry, you said it in the first post.

    Thread Starter oderuyter

    (@oderuyter)

    Simple ad manager – wordpress plugin

    At the very bottom of ad in the backend, you can add Code Before and Code After.

    Try adding…

    <div id=”advert”> for Code Before.

    </div> for Code After.

    Then add the CSS above.

    Thread Starter oderuyter

    (@oderuyter)

    OK I added those, and tried with the CSS, but nothing seems to be happening… bit miffed! But I’m not all that confident with CSS

    Well I can’t see them around the ads, so are you sure you’ve added them in the right place?

    Thread Starter oderuyter

    (@oderuyter)

    Hmm odd – I def put in the backend, where do I manually add them?

    also I have put a black image in and there is a thin line visable, where can I remove this?

    Unfortunately I can’t really help any further. I’m unfamiliar with the theme and as I can’t see your site it’s very difficult to guess what the problem is.

    Good luck finding a solution.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Centre alighnt ad in header surrounding colour’ is closed to new replies.