|
Forum > Support
Sidebar Image width
(1/1)
hippieboy123:
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?
--- Code: ---<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> --- End code ---
to
--- Code: ---<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> --- End code ---
Is that the correct way to do it?
SMFHacks:
If you want to change the image tag. You would need to modify Sources/Adseller2.php Find around line 2685
--- Code: --- $adDisplayData .= '<a href="' . $scripturl . '?action=adpro;sa=c&id=' . $adRow['ID_AD'] . '" ' . $openNewWindow . ' rel="nofollow"><img src="' . $imgUrl .'" alt="" /></a>';
--- End code ---
hippieboy123:
Your a legend
Works perfect!
Navigation
[0] Message Index |
Please Help!
by SMFHacks
April 17, 2024, 08:04:55 am
|
Rate own images
by fvlog19
April 11, 2024, 10:56:53 am
|
Tidy Child Boards on 2.1.4
by SMFHacks
April 04, 2024, 03:54:12 pm
|
Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header
by Michel68
March 30, 2024, 12:41:08 pm
|
Can't DROP 'id_member'; check that column/key exists Datei:
by SMFHacks
March 30, 2024, 11:58:20 am
|
No thumbnails on new uploads
by Tonyvic
March 29, 2024, 06:26:18 am
|
Display the Contact Page for guests
by SMFHacks
March 27, 2024, 10:55:43 am
|
is it possible to add support for odysee.com
by fvlog19
March 21, 2024, 08:47:51 am
|
Request for admin notification
by davejo
March 10, 2024, 01:31:59 am
|
I need help with torrent upload
by Ineedsmfhelp
March 09, 2024, 10:01:13 pm
|
|
|