The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Text in posts with more margin
Hi !
How can i increase the margin around the text in a post. I only want to increase this margin, and none other. How can this be done? As you can see, the text in this post is too close to the left and right borders. How can i increase only this margin? Greetz, tijmen_4real |
#2
|
|||
|
|||
Two ways to do this...
1. Open your postbit template. 2. Find the following... Code:
<!-- message --> <div id="post_message_$post[postid]">$post[message]</div> <!-- / message --> Code:
<!-- message --> <div style="margin-left: 5px;" id="post_message_$post[postid]">$post[message]</div> <!-- / message --> The second method is pretty much the same, but instead of setting the style of the individual element you would set a class, and then define the style for that class in your template. |
#3
|
|||
|
|||
Thanks for the quick reply!
I can't find the script to edit, only this: Code:
<!-- message --> <div id="post_message_$post[postid]"> $ad_location[ad_showthread_firstpost_start] $post[message] </div> <!-- / message --> |
#4
|
||||
|
||||
Just add the style to the div that is there.
|
#5
|
|||
|
|||
Yeah, the first div can be changed. Sorry, I forgot that I didn't have the advertisement hook in my template. They're the same otherwise.
|
#6
|
|||
|
|||
So i made it like this:
PHP Code:
Is something wrong or....? |
#7
|
|||
|
|||
Post the URL to your site and we should be able to help you more.
|
#9
|
|||
|
|||
Yeah that would be much easier.
|
#10
|
||||
|
||||
Make sure you modify the correct template - postbit or postbit_legacy.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|