Jump to content

Left justify icons using FontAwesome

Recommended Posts

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
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
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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 2/25/2022 at 2:50 AM, snavlakha said:

See attached. It's the button titled "With Unbound Spirit..." - thank you!

Screenshot.jpg

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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
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;
}

image.thumb.png.f0275072a5ba46166e2c53a8a087e9e4.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.