WebSite X5Help Center

 
Fatih A.
Fatih A.
User

Additional Link Color  en

Autore: Fatih A.
Visite 1054, Followers 3, Condiviso 0  

Hello,

Can somebody help me please how can I change the color of a link?

I arranged the default link color as black in step 2. Black is good for my page content since the background color of my pages is white. 

But I wanna add some linked texts in my footer whose color is light black. So, white link color would be great for this part. 

So, my questions are, 

Is there a way to change the color of the linked texts in my footer without using any additional HTML code?

If the reply is negative for the first question, how can I change the link color with HTML code and how can I add HTML code to a text object?

Thanks for any probable help,

Postato il
6 RISPOSTE
Axel  
Axel  
User
Utente del mese FR

Hello Fatih,

In your page where is the link add an HTML object and add this code.

the result will be in green in this example

Enjoy !

Axel

Leggi di più
Postato il da Axel  
Axel  
Axel  
User
Utente del mese FR

For the footer you can add an HTML object and use this example to change a color link

<a style="font-size:22px;text-decoration:none; color:navy" href="https://www.google.it/" alt="Google" title="Google"> open Google </a>

Enjoy!

Axel

Leggi di più
Postato il da Axel  
Fatih A.
Fatih A.
User
Autore

Hi Axel,

Thank you for that code. It worked really well.

I need to know one more thing (sorry for disturbing you). When I tried your first illustrated example to change the link color in page instead of footer, It changed the active and mouse over link color of texts in my page content. But when I visit the link, it turns to another color. Do you know any code that I should add in this current code to keep the visited links in the same color as active ones?

Best, 

Leggi di più
Postato il da Fatih A.
Axel  
Axel  
User
Utente del mese FR

Hello Fatih,

For the footer try this one too

Add this one into an HTML / CSS object


<style>
.linkfooter {
color: red;
}
.linkfooter:hover {
color: black;
}
</style>

and add this one into other HTML object

<a class="linkfooter" href="http://google.com">Red Link in footer</a>

Hope this helps

Enjoy!

Axel

Leggi di più
Postato il da Axel  
Fatih A.
Fatih A.
User
Autore

Thank you for all your help Axel. I will also give a try your last codes. Hope they will work.

Have a great day,

Leggi di più
Postato il da Fatih A.
Pavel M.
Pavel M.
User

To have a different color of links in the context field, just use the html code for each such link in the text itself.

request on the Internet (change the color of text or links, 5 minutes to familiarize yourself and you're done)

Leggi di più
Postato il da Pavel M.