- This topic has 18 replies, 3 voices, and was last updated 6 years, 11 months ago by Tom.
-
AuthorPosts
-
May 4, 2017 at 3:25 am #313786Hussein 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
May 4, 2017 at 9:33 am #313912TomLead DeveloperLead DeveloperHi there,
What’s the complete CSS you’re using?
You should be adding CSS using these instructions: https://docs.generatepress.com/article/adding-css/
May 4, 2017 at 9:34 am #313914LeoStaffCustomer SupportHi 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!
May 4, 2017 at 12:33 pm #314014Hussein YounesHi 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
May 4, 2017 at 12:45 pm #314025LeoStaffCustomer SupportHi there,
Looks like it’s working for me?
https://s12.postimg.org/zbon2fkrx/2017-05-04_1244.pngThe
text-align: justify;
is added straight in HTML style.Let me know.
May 4, 2017 at 12:57 pm #314036Hussein YounesHi 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
May 4, 2017 at 1:00 pm #314046LeoStaffCustomer SupportCan you try clearing your Safari browser cache? Or test with Private Browsing in Safari.
Everything should be Safari compatible already.
Let us know 🙂
May 4, 2017 at 1:38 pm #314061Hussein YounesI tried your suggestion, and nothing happened, same things!
May 4, 2017 at 7:47 pm #314166TomLead DeveloperLead DeveloperGP 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
May 4, 2017 at 7:57 pm #314167Hussein YounesExample 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.
May 5, 2017 at 12:09 am #314196TomLead DeveloperLead DeveloperWhat’s the complete CSS you’re adding, including the selector?
May 5, 2017 at 3:14 am #314271Hussein YounesFor Sipmle CSS, I don’t add anything, because I can see the justify command comes embedded by default.
May 5, 2017 at 9:02 am #314403TomLead DeveloperLead DeveloperYou could try this:
.siteorigin-widget-tinymce { text-align: justify; }
The CSS itself should work in all browsers, as it’s just standard CSS2.
May 5, 2017 at 11:52 am #314502Hussein YounesUnfortunately same thing! Dons’t work on Safari.
May 7, 2017 at 11:36 pm #315213TomLead DeveloperLead DeveloperHmm, 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 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.