PDA

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


diretur
12-28-2009, 06:52 PM
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
12-30-2009, 05:48 PM
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
01-02-2010, 02:49 PM
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
01-02-2010, 02:52 PM
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
04-16-2013, 08:40 PM
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
05-04-2013, 10:26 AM
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};
}