snavlakha Posted February 24, 2022 Share Posted February 24, 2022 Site URL: https://www.polaritycode.com/ I'm using FontAwesome on my website for social media icons. Is it possible to left justify the icons instead of centering them? Link to comment
Beyondspace Posted February 24, 2022 Share Posted February 24, 2022 56 minutes ago, snavlakha said: Site URL: https://www.polaritycode.com/ I'm using FontAwesome on my website for social media icons. Is it possible to left justify the icons instead of centering them? Try adding to Home > Design > Custom Css #collection-5ffcabbe690530216d1f6874 .t-social { display: flex; } Let me know how it works on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
snavlakha Posted February 24, 2022 Author Share Posted February 24, 2022 18 minutes ago, bangank36 said: Try adding to Home > Design > Custom Css #collection-5ffcabbe690530216d1f6874 .t-social { display: flex; } Let me know how it works on your site Thank you! That worked! One other question. I have a button on my website that uses custom code to open a pop-up when someone clicks on it. How do I center the button? Code snippet below. <!--To modify button, go to CSS--> <style> .featherlight-content { color: #000; } </style> <span style="color:#000;"> <div style="display:none;"> <!--<div style="font-family:Alternate Gothic No3 D; font-size:large"; id="with-unbound-spirit">--> <div id="with-unbound-spirit"> <p class="a"><b><u>WITH UNBOUND SPIRIT - RELEASE DATE</u></b></p> February 25, 2022<br><br> <p class="a"><b><u>WITH UNBOUND SPIRIT - CREDITS</u></b></p> <b>Composition:</b> Saral Navlakha<br> </div> </div> <body> <a href="#" class="button button1" data-featherlight="#with-unbound-spirit">Song Title</a> </body> Link to comment
Beyondspace Posted February 24, 2022 Share Posted February 24, 2022 2 hours ago, snavlakha said: Thank you! That worked! One other question. I have a button on my website that uses custom code to open a pop-up when someone clicks on it. How do I center the button? Code snippet below. <!--To modify button, go to CSS--> <style> .featherlight-content { color: #000; } </style> <span style="color:#000;"> <div style="display:none;"> <!--<div style="font-family:Alternate Gothic No3 D; font-size:large"; id="with-unbound-spirit">--> <div id="with-unbound-spirit"> <p class="a"><b><u>WITH UNBOUND SPIRIT - RELEASE DATE</u></b></p> February 25, 2022<br><br> <p class="a"><b><u>WITH UNBOUND SPIRIT - CREDITS</u></b></p> <b>Composition:</b> Saral Navlakha<br> </div> </div> <body> <a href="#" class="button button1" data-featherlight="#with-unbound-spirit">Song Title</a> </body> Can you share the screenshot of it? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
snavlakha Posted February 24, 2022 Author Share Posted February 24, 2022 2 hours ago, bangank36 said: Can you share the screenshot of it? See attached. It's the button titled "With Unbound Spirit..." - thank you! Link to comment
tuanphan Posted February 27, 2022 Share Posted February 27, 2022 On 2/25/2022 at 2:50 AM, snavlakha said: See attached. It's the button titled "With Unbound Spirit..." - thank you! It looks like you figured it out with display flex code? 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
snavlakha Posted February 28, 2022 Author Share Posted February 28, 2022 18 hours ago, tuanphan said: It looks like you figured it out with display flex code? Yes, I figured that part out. But I still haven't figured out how to center the "With Unbound Spirit" button per my follow up question above. Do you know the answer to this? Thank you. Link to comment
tuanphan Posted March 3, 2022 Share Posted March 3, 2022 On 2/28/2022 at 9:17 AM, snavlakha said: Yes, I figured that part out. But I still haven't figured out how to center the "With Unbound Spirit" button per my follow up question above. Do you know the answer to this? Thank you. Add to Design > Custom CSS a.button.button1 { text-align: left; padding-left: 5px; } 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
snavlakha Posted March 6, 2022 Author Share Posted March 6, 2022 On 3/3/2022 at 1:33 AM, tuanphan said: Add to Design > Custom CSS a.button.button1 { text-align: left; padding-left: 5px; } This doesn't center the button. I want to center the entire button. The text is already centered within the button and is fine as is. Any additional thoughts on how to do this? Link to comment
tuanphan Posted March 10, 2022 Share Posted March 10, 2022 On 3/6/2022 at 1:16 PM, snavlakha said: This doesn't center the button. I want to center the entire button. The text is already centered within the button and is fine as is. Any additional thoughts on how to do this? Add to Design > Custom CSS .sqs-block-content>span { display: block; text-align: center; } 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
snavlakha Posted March 10, 2022 Author Share Posted March 10, 2022 15 hours ago, tuanphan said: Add to Design > Custom CSS .sqs-block-content>span { display: block; text-align: center; } Success - thank you so much! 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