Jump to content

Change link color within a markdown block

Recommended Posts

Pretty new at this and have a markdown block in which I have a link.  I want to change the color of the link and put the following in the block but it still remains the same color as the other text in the markdown block.  Last 10 lines (approx) of this code.  Any help?

<div class="legend"><div class="item">
    <img src="https://static1.squarespace.com/static/620beb509a658c7a242f355b/t/62d6d806ef35aa522d1b1def/1658247174317/orange+terminal.png">
    <p>Airport Info</p>
  <div class="item">
    <img src="https://static1.squarespace.com/static/620beb509a658c7a242f355b/t/62d6d862ef35aa522d1b338b/1658247267090/car.png">
  <div class="item">
    <img src="https://static1.squarespace.com/static/620beb509a658c7a242f355b/t/62d6d82076c98f741169cab1/1658247200023/fork-and-knife-png-3680.png">
  <div class="item"> 
   <img src="https://static1.squarespace.com/static/620beb509a658c7a242f355b/t/62d6d89fc89e4a6a339263c4/1658247327829/hotel.png">
  <div class="item">
    <img src="https://static1.squarespace.com/static/620beb509a658c7a242f355b/t/62d6dd7cc28d2f5e8a436b6a/1658248572302/aqua+comments+icon.png">
   <div class="item">
     <p>&nbsp;Certified Texas Main Street City <span style="text-decoration:underline;color:#E1DB5F;"> [Learn more][1]</span>

[1]: /texas-main-street-cities




Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

The following bit confuses the markdown processor.

<span style="color : red;">
  [Learn more][1]

So you would end up having to do the following.

<a href="/texas-main-street-cities" style="color : red;">
  Learn more

If the learn more is all you are trying to use Markdown for, then in this case, you're better off just using a code block to save the unnecessary markdown processing.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.