Jump to content

Hyperlink from code block

Recommended Posts

  • Replies 10
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Edit your Code Block, I mean this code

Quote

<td scope="row" data-label="team">SZR Team</td>

to this

Quote

<td scope="row" data-label="team"><a href="https://beaverhero.com" target="_blank">SZR Team</a></td>

Do similar for other.

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
  • 2 weeks later...
  • 2 weeks later...
On 9/4/2020 at 6:05 PM, AS89 said:

Hi is there anyway on this page https://www.fitprintsforgood-mufgemea.com/ of combining the the two images

So you will see an image of a person tying up their pink trainers, is there any way when you  scroll over it shows the 'distance' image below?

 

Thanks

I din't get the notification. Do you still need help on this?

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
  • 2 years later...
On 8/26/2020 at 7:18 PM, tuanphan said:

Edit your Code Block, I mean this code

to this

Do similar for other.

Hello Tuanphan,

I have just used this code to add a link in a table.

Thank you! Once again!

could you please include code to change the link to a different colour (currently it is the colour of setting)

Thank you

Paul

  

Link to comment
On 8/1/2023 at 11:41 PM, paultogether said:

Hello Tuanphan,

I have just used this code to add a link in a table.

Thank you! Once again!

could you please include code to change the link to a different colour (currently it is the colour of setting)

Thank you

Paul

  

If change one link only, you can use this

<td scope="row" data-label="team"><a href="https://beaverhero.com" target="_blank" style="color:#f1f !important;">SZR Team</a></td>

If you have many links need to change, please share link to page where you use code, we can give another 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
6 hours ago, tuanphan said:

If change one link only, you can use this

<td scope="row" data-label="team"><a href="https://beaverhero.com" target="_blank" style="color:#f1f !important;">SZR Team</a></td>

If you have many links need to change, please share link to page where you use code, we can give another code

Thank you Tuanphan

the link is here Code Prac — Volunteering, Electives, & Gap Years (gafv.global)

it's a practice page, so I have made it live.

The whole last column is links only

I would like them all a different colour, and when they have been clicked, to change colour

I have found some code for this, but I do not know how to include it in my table html code, or the CSS code.

see below

HTML Link Colors (w3schools.com)

 

Add  hyperlinks with different colours

 

<style>
a:link {
  color: green;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: pink;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: yellow;
  background-color: transparent;
  text-decoration: underline;
}
</style>

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.