PDA

View Full Version : Justify


Toorak Times
06-17-2014, 12:22 PM
I was actually stunned today, I have sought a way to add 'justify' to my WYSIWYG, old school publisher, so I can have justified galleys of type for my Publishing Suite, no results, although I found a bbcode that doesn't work in 4.2.2pl1.

THEN I, must be thick, find that in my Blogs 'justify' exists! Have a look...http://www.tooraktimes.com.au/entry.php/955-Alice-Bailey-and-the-Externalisation-of-the-Hierarchy

Can anyone tell me how to get this happening in my CMS by default please?

A simple fix for this would have an enormous impact on the Publishing Suite as a whole I reckon.

My site may get the record for over modified but so much of the basic hacks should just, somehow, be embraced and made organic.

I still love the flexibility of vBulletin, been struggling to understand why the Blogs, Calendars and CMS are so under rated amongst developers, but realise MOST didn't want or need a CMS. To me it was a godsend.

kh99
06-17-2014, 01:06 PM
It seems the blog is justified because somewhere in the css (I couldn't immediately find where), class_blogcontent contains "text-align: justify". So if you could figure out the class for the CMS content you should be able to add something similar. Or it seems like you should be able to create a custom JUSTIFY bbcode by making the replacement something like:
<span style="text-align: justify;">{param}</span>

but I haven't tried either of these methods yet.

Toorak Times
06-17-2014, 01:57 PM
It seems the blog is justified because somewhere in the css (I couldn't immediately find where), class_blogcontent contains "text-align: justify". So if you could figure out the class for the CMS content you should be able to add something similar. Or it seems like you should be able to create a custom JUSTIFY bbcode by making the replacement something like:
<span style="text-align: justify;">{param}</span>

but I haven't tried either of these methods yet.


Thanks for the quick response mate, I'll give the bbcode a run

--------------- Added 1403082020 at 1403082020 ---------------

No joy with bbcode, thanks anyway