The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
code to center ads?
Can someone tell me what i would need to ad to my ad code to center my ads on my forum?
|
#2
|
||||
|
||||
You should be able to do that with the stylevar, ad_margin found in the group Ads.
For UNITS choose PX and then just put numbers in save and then look at your forum and you will see what adjusts what and then you just tweak it until it looks the way you want. |
#3
|
|||
|
|||
is this in edit templates?
|
#4
|
||||
|
||||
No, ACP --> Styles & Templates --> Style Manager --> Style Variable Editor for the style you are working with.
|
#5
|
|||
|
|||
Quote:
Oh thank you ozzy but this is moving all my ads. I just need to center the top ad. |
#6
|
||||
|
||||
Ok in the template, ad_global_below_navbar wrap the code in that template with this.
Code:
<div align="center"> Existing Code In Template </div> |
#7
|
|||
|
|||
Quote:
Thank you sir |
#8
|
||||
|
||||
Not a problem, glad to help.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|