Lack of interest Ad Template DIVs and CSS

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Slavik

XenForo moderator
Staff member
Just a quick one, maybe I missed it, but the add templates don't seem to have any attached divs and css to them, so when I added in my adverts underneith the page content, it was litterally rammed against the sharepage div without any spacing.

I would suggest that by default to include default div ids for all the ad locations, and an ad locations css file to edit them all.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
There are times when you might need to use SPAN, rather than DIV for CLASS ID's. Just worth mentioning, depending on how you add adverts of course. That's probably why they left them out for people to mix and match things there own way, each person is different how they want to integrate ads. One bog standard CSS way, won't necessarily suit all.
 
If you are doing DIV's ensure you have CSS for them AKA:

<div id="name"></div>

div#name{
margin-left: auto;
margin-right: auto;
}

That will make it center wherever the div is placed.
 
Top Bottom