rosa-h Posted March 19, 2021 Share Posted March 19, 2021 Site URL: https://www.movingexperience.me/ I used custom css to justify text on my webiste. This is what I used in the : p { text-align: justify } I also tried adding this to the code blocks: <p style="text-align: justify ;margin-top:-20px;white-space:pre-wrap;font-weight: 500;" Now it is only being displayed correctly when the site is viewed in google chrome, it doesn't work in safari. I also tried adding this: body p, .sqs-layout .sqs-block.html-block p { text-align: justify !important; } but it's only affecting the regular text blocks, not the coding blocks with the text I actually want to justify. I'm thankful for any ideas what might be the problem here! Beyondspace 1 Link to comment
Beyondspace Posted March 20, 2021 Share Posted March 20, 2021 10 hours ago, rosa-h said: Site URL: https://www.movingexperience.me/ I used custom css to justify text on my webiste. This is what I used in the : p { text-align: justify } I also tried adding this to the code blocks: <p style="text-align: justify ;margin-top:-20px;white-space:pre-wrap;font-weight: 500;" Now it is only being displayed correctly when the site is viewed in google chrome, it doesn't work in safari. I also tried adding this: body p, .sqs-layout .sqs-block.html-block p { text-align: justify !important; } but it's only affecting the regular text blocks, not the coding blocks with the text I actually want to justify. I'm thankful for any ideas what might be the problem here! There is problem with safari justify align How to Justify Text in 7.1 using Safari? - Coding and Customization - Squarespace Forum BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
rosa-h Posted March 23, 2021 Author Share Posted March 23, 2021 On 3/20/2021 at 2:54 AM, bangank36 said: There is problem with safari justify align How to Justify Text in 7.1 using Safari? - Coding and Customization - Squarespace Forum Thank you for your response, this also did not work. It did the exact same thing as this code: body p, .sqs-layout .sqs-block.html-block p { text-align: justify !important; } Do you have any other suggestions? Beyondspace 1 Link to comment
Beyondspace Posted March 23, 2021 Share Posted March 23, 2021 1 minute ago, rosa-h said: Thank you for your response, this also did not work. It did the exact same thing as this code: body p, .sqs-layout .sqs-block.html-block p { text-align: justify !important; } Do you have any other suggestions? I don't at the moment since I dont have a macos devices to test, hope someone will contribute a solid workaround BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment