Jump to content
Sign in to follow this  
mkmk

Justify Text of Blog Posts in Platform Pro

Recommended Posts

mkmk

What would be the code to full justify the text in all my blog posts? I do NOT want to justify the headers, or widgets, or the text of pages. Just the blog posts. I'm using PlatformBase 1.04 & Platform Pro 1.40 Thanks!

Share this post


Link to post
Share on other sites
catrina
You'll need this code added to Custom Code > Custom CSS in your Settings: [code]div.entry_content {text-align: justify;}[/code]

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
mkmk
Catrina, that justifies the text (great) but unfortunately it also justifies the headlines & subheads. Is there anyway only to justify the text? Thanks! michael

Share this post


Link to post
Share on other sites
mkmk
Sorry, to be clear: The name of the blog is not justified. But the subheads within the blog are justified. So my hope is for code that will not justify the subheads either, but only text that is "p". thanks! m

Share this post


Link to post
Share on other sites
Jackey
That should be: [quote]div.entry_content p {text-align: justify;}[/quote]

Share this post


Link to post
Share on other sites
Jenny
Let us know how @jackey@melisgs.nl 's code works for you :)

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
mkmk
One final tweak (I hope). Yes, that works to get all the "p" text justified without justifying the subheads. But this justifies all the page text and not only the blog text. Any way just to do the blog text? thanks so much for your help on this. michael

Share this post


Link to post
Share on other sites
kastelic
could we see a link to your site? Are you talking about single post pages, or the excerpts on your blog page? You could try: [code] .post p [/code]

Share this post


Link to post
Share on other sites
mkmk
Here is my site: www.michaelkaufman.com My blog home page has the full text of my 3 latest blogs. So it would be for that + the single post pages. Thanks so much! Michael

Share this post


Link to post
Share on other sites
mkmk
You did it! Amazing. And thank you to Catrina, Kastelic, Jackey & SimpleMama for putting your time, thought, and knowledge into this -- and so quickly to boot. Michael

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×