WebSite X5Help Center

 
Michal D.
Michal D.
User

Change the color of the link in the cookie information bar  en

Autore: Michal D.
Visite 1841, Followers 1, Condiviso 0  

Please, give me an advice. I have enabled the use of cookies. In the text of the information I have a link to a page with a detailed description of cookies. Text in tray I have white paint on black background. The problem is that the link color setting is taken from the global template setting, where the link text is black. How do I change the link text to white only in the cookie bar?

Thank you

Postato il
5 RISPOSTE - 1 CORRETTO
John S.
John S.
User

Try something like this :

<a href="http://www.hyperlinkcode.com/change-hyperlink-color.php"style="color: #cc0000">change hyperlink color</a>

Change the URL, the color and the text at your needs

Leggi di più
Postato il da John S.
John S.
John S.
User

** there should be a space between php"style=     Should be php" style=

But you probably guessed that. The space was removed by the system.

The color in the example is red.

A good tol for finding colorcodes and pickup color codes is the color cop.

http://colorcop.net/

Leggi di più
Postato il da John S.
John S.
John S.
User

The color can also be specified with a name :

"color: white"

"color: green"

Leggi di più
Postato il da John S.
John S.
John S.
User

This example :

Gives this : 

Leggi di più
Postato il da John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese PT
Michal D.
Please, give me an advice. I have enabled the use of cookies. In the text of the information I have a link to a page with a detailed description of cookies. Text in tray I have white paint on black background. The problem is that the link color setting is taken from the global template setting, where the link text is black. How do I change the link text to white only in the cookie bar? Thank you

(It > En) ... hello, ... your STAMP is damaged ...
... in order to verify you should post the LINK of your web page ...
... however you can still try this code:
<style> #cookie-law-message .imCssLink { color:yellow !important } </style>
... to copy and paste in the section:
>> Step 1 - Settings > The Advanced section > Statistics, SEO and Code > Options in the Code section | Custom Code: > ▼Before closing the HEAD tag

Hello, ciao

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪