vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=313146

Justify text
by Spangle
22 Jul 2014 12:36

I need a hack to justify all posts, articles and blogs.

I can do it via Firebug, but I'm finding it difficult to locate the code to edit in the templates.

Anyone help ?

Spangle 27 Jul 2014 11:47

Question too difficult ?

webjocky 31 Jul 2014 04:44

I like to teach people to fish instead of just handing them one.
Although it says vB4, the same technique applies to vB5, maybe this will help. http://www.vbulletin.com/forum/forum...outvar-to-edit

Spangle 31 Jul 2014 09:23

Quote:

Originally Posted by webjocky (Post 2509103)
I like to teach people to fish instead of just handing them one.
Although it says vB4, the same technique applies to vB5, maybe this will help. http://www.vbulletin.com/forum/forum...outvar-to-edit

If you bother to read the OP properly, you will have read that I can accomplish this through Firebug, but I cannot find the relative template to edit, despite doing a search, as far as I am aware it will not be in the Stylevars, but I will take a look.

Darkness95 01 Aug 2014 10:37

Hi! There is also another one way to find the correct CSS template to edit!

First you have to go in the part of the forum which you want to edit. Now use with right click of your mouse the navigator (or inspect element) and know the name of the class you want to edit. Copy the class and go to:

Admin Control Panel > Styles & Templates > Search in Templates

Now use the section "Search Templates" (not Find and Replace) and put the name of the class in "Search for text", select the style which you want to find the CSS template and check "No" in "Search Titles Only".

To justify the text you have to open the CSS template and put in the class that you want to edit this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Bye bye :D

Spangle 01 Aug 2014 19:58

Quote:

Originally Posted by Darkness95 (Post 2509265)
Hi! There is also another one way to find the correct CSS template to edit!

First you have to go in the part of the forum which you want to edit. Now use with right click of your mouse the navigator (or inspect element) and know the name of the class you want to edit. Copy the class and go to:

Admin Control Panel > Styles & Templates > Search in Templates

Now use the section "Search Templates" (not Find and Replace) and put the name of the class in "Search for text", select the style which you want to find the CSS template and check "No" in "Search Titles Only".

To justify the text you have to open the CSS template and put in the class that you want to edit this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Bye bye :D

I tried Searching ALL templates, mainly because I want it board wide, not just in the forums, as I said, I can do it with firebug, but cannot find the relevant template

Darkness95 01 Aug 2014 23:48

Quote:

Originally Posted by Spangle (Post 2509335)
I tried Searching ALL templates, mainly because I want it board wide, not just in the forums, as I said, I can do it with firebug, but cannot find the relevant template


Don't worry, i've made a video for you to explain better how you have to do it! ;)


Spangle 02 Aug 2014 09:41

Quote:

Originally Posted by Darkness95 (Post 2509370)
Don't worry, i've made a video for you to explain better how you have to do it! ;)


Thanks a bundle Scanu !


All times are GMT. The time now is 17:29.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.