PDA

View Full Version : On my first post, the width of the post is not 100%.


prandah
08-25-2011, 05:37 AM
On my first post, the width of the post is not 100%. I have not altered any css / template. i have tried to disable plugin too.

http://www.mypict.info/images/73371986373881160200_thumb.jpg (http://www.mypict.info/viewer.php?file=73371986373881160200.jpg)

so i want my ads looks like this

http://www.mypict.info/images/26420572177244213394_thumb.jpg (http://www.mypict.info/viewer.php?file=26420572177244213394.jpg)

Lynne
08-25-2011, 03:22 PM
This should work for the postbit template, you should be able to do similar with postbit_legacy if that is what you are using.

Find:
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
Change to:
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['last_ad']"> hasad</vb:if>">
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
Adjust padding around ad as needed.

prandah
08-25-2011, 06:07 PM
very nice thanks lynne