Jump to content

Changing color text for single words

Recommended Posts

  • Replies 3
  • Views 360
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

13 minutes ago, LHS said:

I want to change the font colour of text, but only the first letter of a word, eg. "Leading Learners" so I want to change all the "L" to green.  Any suggestions?  

 

I think we can set it with some Css code,  regarding the term: Css pseudo element - first letter

If you need a support to implement it, kindly share your site with protected password and take a screeshot of where you 'd to apply this style

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
1 hour ago, bangank36 said:

I think we can set it with some Css code,  regarding the term: Css pseudo element - first letter

If you need a support to implement it, kindly share your site with protected password and take a screeshot of where you 'd to apply this style

Currently, I am trying to use the markdown.  So this is the code I have so far

<span style="color:#365327">
L
--
</span>eading Lifelong Learners  

 

But actually, I think the heading 2 is too large, so want to change the font size more.  Also, the idea is that I can't bring the text "eading Lifelong Learners" up to align with the "L".  

Screenshot.jpg

Link to comment
On 11/1/2021 at 1:06 AM, LHS said:

Currently, I am trying to use the markdown.  So this is the code I have so far

<span style="color:#365327">
L
--
</span>eading Lifelong Learners  

 

But actually, I think the heading 2 is too large, so want to change the font size more.  Also, the idea is that I can't bring the text "eading Lifelong Learners" up to align with the "L".  

Screenshot.jpg

Try this

<span style="color:#365327;font-size:30px;">L</span>eading Lifelong Learners

 

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

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.