Fli
12-03-2014, 11:23 AM
vBulletin allows adding an advertisement code into each topic last post / first post
Its done from AdminCP / Advertising
But in my case when i added an Ad text, it got like 90% width of whole last post message and last post message was like 10% wide. How to fix?
Go to Styles & Templates and Search in Styles
find: ad_thread_last_post_content
in the file showthread.css can be found above mentioned phrasse:
OLD:
/* ADS First and Last Post */
#ad_thread_first_post_content {
float:{vb:stylevar right};
}
#ad_thread_last_post_content {
float:{vb:stylevar right};
}
NEW:
/* ADS First and Last Post */
#ad_thread_first_post_content {
float:{vb:stylevar right};
width: 35%;
padding-top: 65px;
padding-left: 10px;
}
#ad_thread_last_post_content {
float:{vb:stylevar right};
width: 35%;
padding-top: 65px;
padding-left: 10px;
}
i found % value works too and might be more suitable maybe
Its done from AdminCP / Advertising
But in my case when i added an Ad text, it got like 90% width of whole last post message and last post message was like 10% wide. How to fix?
Go to Styles & Templates and Search in Styles
find: ad_thread_last_post_content
in the file showthread.css can be found above mentioned phrasse:
OLD:
/* ADS First and Last Post */
#ad_thread_first_post_content {
float:{vb:stylevar right};
}
#ad_thread_last_post_content {
float:{vb:stylevar right};
}
NEW:
/* ADS First and Last Post */
#ad_thread_first_post_content {
float:{vb:stylevar right};
width: 35%;
padding-top: 65px;
padding-left: 10px;
}
#ad_thread_last_post_content {
float:{vb:stylevar right};
width: 35%;
padding-top: 65px;
padding-left: 10px;
}
i found % value works too and might be more suitable maybe