PDA

View Full Version : Move the ads in the first post to the left


diretur
28 Dec 2009, 19:52
Hi everybody,

how can I display the ad in the first post on the left side (under the text) instead of the right side (default on vB4)? What should I change in the postbit template?

Thanks in advance

diretur
30 Dec 2009, 18:48
I answer myself:

open
showthread.css

find
/* ADS First and Last Post */
#ad_thread_first_post_content {
float:{vb:stylevar right};
}
#ad_thread_last_post_content {
float:{vb:stylevar right};
}

change to
/* ADS First and Last Post */
#ad_thread_first_post_content {
float:{vb:stylevar left};
}
#ad_thread_last_post_content {
float:{vb:stylevar left};
}

sportsoutlaw
02 Jan 2010, 15:49
I am trying to edit this in cpanel, but it keeps giving me an error and defaulting back to "right". Am I overlooking something simple here?

Edit: nevermind,just realized this is in the template area....

diretur
02 Jan 2010, 15:52
Hm, you should chang the two "right" cases into "left", like this:
/* ADS First and Last Post */
#ad_thread_first_post_content {
float:{vb:stylevar left};
}
#ad_thread_last_post_content {
float:{vb:stylevar left};
}

Naijasite
16 Apr 2013, 22:40
he work well, but the default advert space was left black and open without content. All content where place at the middle. any help to fix the error?

nofx1982
04 May 2013, 12:26
You should change right ---> left also here:

postbit.css

.hasad {
display:block;
margin-{vb:stylevar right}: {vb:stylevar ad_post_maxWidth};
}

Change in

.hasad {
display:block;
margin-{vb:stylevar left}: {vb:stylevar ad_post_maxWidth};
}