![]() |
Edit width of the topic/last post Ad box
Hello,
vBulletin has an Advertisement manager and we can add an Ad into each topic into last post in the thread view. I mean last post in each thread contains some Ad. I added an Text with hyperlink Bad result: the last post text got srinked into like 10px wide contianer and the Ad text occupy around 90% of the last post width. Please in which file i can define maximum width of the Ad container or what to do to prevent tis issue? Thank you |
Why doesn't you set a width and height for the image in your ad so it isn't so wide?
|
You may be able to use this css code.
e.g. Code:
#ad_thread_last_post_content {width: 400px;} |
Quote:
Quote:
OLD: #ad_thread_last_post_content { float:{vb:stylevar right}; } NEW: #ad_thread_last_post_content { float:{vb:stylevar right}; width: 65%; padding-top: 30px; } i editted also first post which is right above last post i found % value works too and might be more suitable maybe so now Ad container width works properly. SOLVED thank you for help |
Excellent, glad to hear you got the results you were looking for. :)
|
May I ask in this thread if I can have different Ad for mobile style only? And where will I set it in Admincp, can this method in this thread apply to mobile style as well?
Thanks everyone :) |
All times are GMT. The time now is 01:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|