SMFHacks.com
Ad Seller Pro => Support => Topic started by: hippieboy123 on April 12, 2017, 07:17:39 am
-
Hello
When I skrink my page down, I would like the sidbar banners to shrink with the column width
I maybe wrong, but to accomplish this, I would need to edit a template.. yes?
If so, which one - Line Number?
<a href="http://goodbadiptv.com/?action=adpro;sa=c&id=1" target="_blank" rel="nofollow">
<img src="http://tvinthailand.com/wp-content/uploads/2017/04/bannerad-xtream297x61.png" alt="" >
</a>
to
<a href="http://goodbadiptv.com/?action=adpro;sa=c&id=1" target="_blank" rel="nofollow">
<img src="http://tvinthailand.com/wp-content/uploads/2017/04/bannerad-xtream297x61.png" alt="" width="100%">
</a>
Is that the correct way to do it?
-
If you want to change the image tag.
You would need to modify Sources/Adseller2.php
Find around line 2685
$adDisplayData .= '<a href="' . $scripturl . '?action=adpro;sa=c&id=' . $adRow['ID_AD'] . '" ' . $openNewWindow . ' rel="nofollow"><img src="' . $imgUrl .'" alt="" /></a>';
-
Your a legend
Works perfect!