Hi All - Using "Simple Ad Manager" to add adverts on my site, please can you assist on 2 matters
1. Need to centre align the advert
2. Need to make the space around the advert black
The URL is http://www.dblcoverage.com/
Thanks
Hi All - Using "Simple Ad Manager" to add adverts on my site, please can you assist on 2 matters
1. Need to centre align the advert
2. Need to make the space around the advert black
The URL is http://www.dblcoverage.com/
Thanks
This is the blackant labs ad? Yes?
There is currently a div in the code with no class/id.
<div>
<a href="http://blackantlabs.com" target="_blank"><img src="http://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: http://i.imgur.com/9zjRU.png
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.
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.
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?
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.
You must log in to post.