Jump to content

Need help justifying text

Recommended Posts

need help justifying body texts and words in text boxes. i'm using the pacific theme and the customised css codes i've tried doesn't seem to work. here are the codes i've tried: 

 

<style>
body p, .sqs-layout .sqs-block.html-block p {
 text-align: justify !important;
}
</style>

 

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

 

body { text-align: justify }

 

body p,
.sqs-layout .sqs-block.html-block p,
.sqs-layout .sqs-block.markdown-block p {
 text-align: justify;
}

 

p {
  text-align: justify !important;
}

 

p:last-child {
   text-align: justify;
}

 

.main-content article p {
   text-align: justify;
   text-justify: inter-word;
}
Link to comment
  • Replies 1
  • Views 1.4k
  • Created
  • Last Reply

I would advise against justifying web text.

It's a big usability problem. It makes copy very difficult to read particularly, but not only,  for dyslexic readers.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.