Site logo

Archived topic

Justify all text

9 replies · Started by Stephan on February 11, 2019

Viewing posts 1–10 of 10

Hello,

is there an option to align justify all text that is on my site?
I tried some options in the CSS file but it didn´t work.
any Idea?

thanks

Hi there,

Any chance you can link us to the site in question?

You can edit the original topic and use the private URL field.

Let me know :)

Hi, I added the URL. The site is under construction thus htaccess protected user:pw is helpwp:helpwp

If I understand this correct, first you want to remove all the inline style you've added text-align:left, then use this CSS:

.inside-article p {
    text-align: justify;
}

Let me know :)

Hi, I´ve put it into the custom css but it didn´t work. I left it in if you can have another look?

Hi, I don´t have this in the stlye.css file. Is there another file?

It would be in the actual HTML content which is the problem.

You should be able to see something like Tom's screenshot if you click code editor.

Hi,
the only thing I have in the style.css is this

.alignleft {
display: inline;
float: left;
margin-right: 1.5em;
}

how would I need to change this.

I completely commented it out but it didn´t have any impact

Again, that's not added in style.css.

It's added in the actual content. See HTML Text Alignment of this article:
https://www.w3schools.com/html/html_styles.asp

So if you go to the page in question, click Edit Page, then code editor, you should be able to see the inline style.

This archived topic is closed to new replies.