PDA

View Full Version : Justifying Posts and Private Messages (by default)


Elizabeth_1977
11-23-2015, 05:27 PM
For version 4.2.3, I don't suppose someone knows how to alter the code to make posts and private messages (PMs) justified by default.

If so, please share.

MarkFL
11-23-2015, 06:08 PM
Try adding the following plugin:

Product: vBulletin

Hook Location: parse_templates

Title: Auto-Justify Text In Posts/PMS

Execution Order: 5

Plugin PHP Code:

if (in_array(THIS_SCRIPT, array('showthread', 'private')))
{
$template_hook['headinclude_css'] .= '<style>.content {text-align: justify}</style>';
}

Plugin is Active: Yes

Elizabeth_1977
11-23-2015, 06:17 PM
Things have changed a bit so I'm trying to figure out where to go and how to do this.

--------------- Added 1448310004 at 1448310004 ---------------

Dude, that worked, thanks!