Esoes_design Posted September 7, 2021 Share Posted September 7, 2021 Site URL: https://grey-oboe-73ll.squarespace.com/ Hi @tuanphan I try to justify the text in the green square. I tried the css : text-align: justify; But it done nothing. Thanks for your help ! https://grey-oboe-73ll.squarespace.com/ Password : Laflaneuse Link to comment
derricksrandomviews Posted September 7, 2021 Share Posted September 7, 2021 I believe you have to target the summary block but so far I have found no tutorial on how to do this for a summary block. Will keep looking, would like to do this myself for my site to see how it looks. Link to comment
Esoes_design Posted September 15, 2021 Author Share Posted September 15, 2021 @derricksrandomviews HI ! Thanks for your help ! Yes, it would be great ! What do you need to access the site ? @tuanphan Would you have any solution for this ? Thanks a lot, Lucie Link to comment
derricksrandomviews Posted September 15, 2021 Share Posted September 15, 2021 No solutions yet. Link to comment
tuanphan Posted September 16, 2021 Share Posted September 16, 2021 Hi, add border + Make boxes same height or justify text in 4 boxes? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Esoes_design Posted September 22, 2021 Author Share Posted September 22, 2021 Hi @tuanphan In resume, I would like to justify the text in all the website. Are there any codes for that ? It seems so simple but I can't find a solution. Thanks for your help. Link to comment
iamdavehart Posted September 22, 2021 Share Posted September 22, 2021 The css property you're using is correct. the issue will be how you target the paragraphs you want to justify. if squarespace already has a text-align code put in for that piece of content (from a more specific rule) your css code won't apply without !important being added. I'd question whether you want this effect for the whole site, many of the section blocks in summaries etc are way too small for this effect to be a good decision. Anyway, if you want to do it for the whole site something like this added to your custom css will do it p { text-align: justify !important } I'd probably suggest that you try to target certain items more specifically. tuanphan and libertine 2 Dave Hart. Software/Technology Consultant living in London. buymeacoffee Link to comment
libertine Posted October 8, 2021 Share Posted October 8, 2021 Hello i am having an extremely tough and confused time with this whole justify thing, and my client really wants it. Im interested in how to set it to globally be justified for body text. But she is only most interested in justifying the text on the About page. https://harmonica-denim-49s7.squarespace.com/ password: gelis Thank you! Link to comment
iamdavehart Posted October 8, 2021 Share Posted October 8, 2021 @libertine OK, you just need to find a way to target only the about page. One way to do this is to find the section id and use that in a CSS rule that you paste into your Custom CSS. The easiest way to find the section id is using the Squarespace ID Finder chrome extension. For your about section the id is "60e3ad8978955f711e766495", so all you need to do is take the code from above and prefix it with a rule to target only this id. it looks like this // justifies paragraphs in the "about" section section[data-section-id="60e3ad8978955f711e766495"] p { text-align:justify; } add this to your custom CSS (in the main design menu). because this is a more specific rule than Squarespace's global text align rule you don't need !important here as I posted in my answer above. As a footnote I would add that I don't think justifying text is a very "web" thing to do. it tends to be something you do to reinforce the idea/shape of columns of text. that said, I understand it's a client choice. libertine and jenq 1 1 Dave Hart. Software/Technology Consultant living in London. buymeacoffee Link to comment
libertine Posted November 3, 2021 Share Posted November 3, 2021 On 10/8/2021 at 4:45 AM, iamdavehart said: @libertine OK, you just need to find a way to target only the about page. One way to do this is to find the section id and use that in a CSS rule that you paste into your Custom CSS. The easiest way to find the section id is using the Squarespace ID Finder chrome extension. For your about section the id is "60e3ad8978955f711e766495", so all you need to do is take the code from above and prefix it with a rule to target only this id. it looks like this // justifies paragraphs in the "about" section section[data-section-id="60e3ad8978955f711e766495"] p { text-align:justify; } add this to your custom CSS (in the main design menu). because this is a more specific rule than Squarespace's global text align rule you don't need !important here as I posted in my answer above. As a footnote I would add that I don't think justifying text is a very "web" thing to do. it tends to be something you do to reinforce the idea/shape of columns of text. that said, I understand it's a client choice. Hello thank you very much for your help. I entered this in but no effect. Any thoughts? Link to comment
tuanphan Posted November 6, 2021 Share Posted November 6, 2021 On 11/3/2021 at 11:05 PM, libertine said: Hello thank you very much for your help. I entered this in but no effect. Any thoughts? Do you still need help? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
libertine Posted November 11, 2021 Share Posted November 11, 2021 Yes, Tuan still need help 🤪 Link to comment
tuanphan Posted November 14, 2021 Share Posted November 14, 2021 On 10/8/2021 at 7:16 AM, libertine said: Hello i am having an extremely tough and confused time with this whole justify thing, and my client really wants it. Im interested in how to set it to globally be justified for body text. But she is only most interested in justifying the text on the About page. https://harmonica-denim-49s7.squarespace.com/ password: gelis Thank you! It looks already justify here Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jenq Posted November 23, 2021 Share Posted November 23, 2021 On 10/8/2021 at 9:45 PM, iamdavehart said: @libertine OK, you just need to find a way to target only the about page. One way to do this is to find the section id and use that in a CSS rule that you paste into your Custom CSS. The easiest way to find the section id is using the Squarespace ID Finder chrome extension. For your about section the id is "60e3ad8978955f711e766495", so all you need to do is take the code from above and prefix it with a rule to target only this id. it looks like this // justifies paragraphs in the "about" section section[data-section-id="60e3ad8978955f711e766495"] p { text-align:justify; } add this to your custom CSS (in the main design menu). because this is a more specific rule than Squarespace's global text align rule you don't need !important here as I posted in my answer above. As a footnote I would add that I don't think justifying text is a very "web" thing to do. it tends to be something you do to reinforce the idea/shape of columns of text. that said, I understand it's a client choice. Thank you for this! 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