Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Recommended Posts

Could anyone please suggest, how do i Justify text in 7.1. i am using brine theme. It should be simple code to paste in design > custom css >

p {
  text-align: justify;
  text-justify: inter-word;
}

This does not seems to be working at all. i still have text to the left. Please suggest what i am doing wrong and what is the correct way to do it.

 

Thank you.

Share this post


Link to post
Posted (edited)

First off Brine template is 7.0. Where are you wanting to do this? In a text block? Title? Header? 7.1 and 7.0 text styles config, getting there,  is very different from each other.  But code may not be necessary in either case.  You might want to post a link to your site with a view only password, so we can take a look.

Edited by derricksrandomviews

Share this post


Link to post
Posted (edited)

P {
 text-align: justify 
}

The above code may not look right with some text blocks so you might just want to put it in certain pages in advanced header so it would look like this. 

<style>P {
 text-align: justify 
}

<style>

Edited by derricksrandomviews

Share this post


Link to post
Posted (edited)

It works in 7.0 blog page settings advanced code injection (and I am using it there as of today) and in other places but I don't like how it arranges small text blocks next to an image on a gallery page when the code (minus style command) is added to custom css.   I could not get it to justify descriptions under a summary image thumbnail. I suspect that is because I didn't target the collection.  I think the code to do that would be the following with element-to-justify replaced with the actual target.

.element-to-justify {
 text-align: justify;
}

Here is a tutorial to find the actual block you want to change:

my random views derrick Lee parker

Edited by derricksrandomviews

Share this post


Link to post

Create an account or sign in to comment

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

Sign in to follow this  

×
×
  • Create New...