[Support request] Justify all text

Home Forums Support [Support request] Justify all text

Home Forums Support Justify all text

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #807450
    Stephan

    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

    #807672
    Leo
    Staff
    Customer Support

    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 🙂

    #808510
    Stephan

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

    #808784
    Leo
    Staff
    Customer Support

    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 🙂

    #808999
    Stephan

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

    #809490
    Tom
    Lead Developer
    Lead Developer

    You’ll need to remove the inline styling inside the editor in order for the CSS to work: https://www.screencast.com/t/vkuTBq9P

    #809631
    Stephan

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

    #809633
    Leo
    Staff
    Customer Support

    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.

    #809652
    Stephan

    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

    #809662
    Leo
    Staff
    Customer Support

    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.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.