[Resolved] Justify Text

Home Forums Support [Resolved] Justify Text

Home Forums Support Justify Text

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #313786
    Hussein Younes

    Hi Tom,

    After every update, I used to insert in the CSS file the following (text-align:justify;) to justify my text. However, after last update, the mentioned command didn’t work!

    Any idea how to justify my theme?

    Appreciate your usual great support!

    Thx ~ Hussein

    #313912
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    What’s the complete CSS you’re using?

    You should be adding CSS using these instructions: https://docs.generatepress.com/article/adding-css/

    #313914
    Leo
    Staff
    Customer Support

    Hi Hussein,

    You shouldn’t have to add the same CSS everytime if you use one of these methods:
    https://docs.generatepress.com/article/adding-css/

    Are you able to provide a link to the page where it’s not working?

    Thanks!

    #314014
    Hussein Younes

    Hi Tom,

    Appreciate your reply.

    Unfortunately I have tested many times now using Simple CSS, and it didn’t work!

    I need to Justify the text in whole pages, and nothing is justified.

    Check the site here: http://HusseinYounes.com

    Thx ~ Hussein

    #314025
    Leo
    Staff
    Customer Support

    Hi there,

    Looks like it’s working for me?
    https://s12.postimg.org/zbon2fkrx/2017-05-04_1244.png

    The text-align: justify; is added straight in HTML style.

    Let me know.

    #314036
    Hussein Younes

    Hi Leo,

    I just noticed after your screenshot that the (text-align: justify;) works fine with IE and Chrome, however it doesn’t work with Safari.

    So the problem specifically with Safari my main browser.

    Thanks for your input and notice!

    Tom, please fix if in Safari and consider MAC users in the future releases 🙂

    Regards ~ Hussein

    #314046
    Leo
    Staff
    Customer Support

    Can you try clearing your Safari browser cache? Or test with Private Browsing in Safari.

    Everything should be Safari compatible already.

    Let us know 🙂

    #314061
    Hussein Younes

    I tried your suggestion, and nothing happened, same things!

    #314166
    Tom
    Lead Developer
    Lead Developer

    GP doesn’t have any control over how browsers render CSS. I’m not sure if Safari has a different attribute for justifying text or not.

    In these examples, is the text in the box saying it’s justified working for you?: https://css-tricks.com/almanac/properties/t/text-align/#article-header-id-0

    #314167
    Hussein Younes

    Example is justified. Check the screenshot.

    FYI, before the latest release when I was able to edit GP CSS and add (text-align: justify;) manually, Safari used to work fine and justify everything.

    #314196
    Tom
    Lead Developer
    Lead Developer

    What’s the complete CSS you’re adding, including the selector?

    #314271
    Hussein Younes

    For Sipmle CSS, I don’t add anything, because I can see the justify command comes embedded by default.

    #314403
    Tom
    Lead Developer
    Lead Developer

    You could try this:

    .siteorigin-widget-tinymce {
        text-align: justify;
    }

    The CSS itself should work in all browsers, as it’s just standard CSS2.

    #314502
    Hussein Younes

    Unfortunately same thing! Dons’t work on Safari.

    #315213
    Tom
    Lead Developer
    Lead Developer

    Hmm, can’t find any reason for that.

    I did find this: https://discussions.apple.com/thread/7912165?start=0&tstart=0

    Not sure if it’s relevant. I’ll do some more digging 🙂

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