WebSite X5Help Center

 
Michal D.
Michal D.
User

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

Autor: Michal D.
Besucht 1569, Followers 1, Geteilt 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

Gepostet am
5 ANTWORTEN - 1 KORREKT
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

Mehr lesen
Gepostet am von 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/

Mehr lesen
Gepostet am von John S.
John S.
John S.
User

The color can also be specified with a name :

"color: white"

"color: green"

Mehr lesen
Gepostet am von John S.
John S.
John S.
User

This example :

Gives this : 

Mehr lesen
Gepostet am von John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
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

.

Mehr lesen
Gepostet am von  ‪ KolAsim ‪ ‪