I got small problem that bugs me, this great hack is not working properly with this code
https://vborg.vbsupport.ru/showthrea...28#post2271728
Can someone help me that with this mod "first post on all pages" in order to place my adsenese under first post?
This is adsense code which I use (from link above)
in postbit template
PHP Code:
<vb:if condition="$post['isfirstshown']">
<li class="firstpost_advert_container"><div class="firstpost_advert">
My adsense code here
</li>
</vb:if>
in aditional css
PHP Code:
.firstpost_advert_container {
clear: both;
display: block;
float: left;
margin-bottom: 12px;
position: relative;
width: 100%;
border: 1px solid #E5E6F4;
}
.firstpost_advert {
with: 100%;
background: #F1F1FA;
border: 1px solid #fff;
min-height: 90px;
margin: 0;
padding: 7px;
text-align: center;
vertical-align: middle;
}
Pls where to place code to make it work just under first post, now its under second post as cause of this mod
Thank you all