-
AuthorPosts
-
February 9, 2022 at 5:56 pm #1339851
Hi folks.
I’d like to add a link (to the privacy policy page) in the text message of the Cookie Consent Message Bar.
I added a classical HTML “A HREF” tag, and since I wanted to change the color of the link, I added a CLASS=”myclassname” to the A HREF tag.
I also assigned a color to that class in the Quick CSS, similar to this one:.myclassname a { color:red!important; }
The point is that the link does not change color at all!
I also tried adding a STYLE =”color:red”in the A HREF tag: same result, the color does not change.The color of that link is not even one of the colors I can customize in the colors availble on the “General Styling” tab of Enfold (or rather, I was not able to find it at all!). It’s a misterious color (a dark purple), and I cannot find anywhere :-)
Any idea?
Thanks folks!
Bye,
A.-- This topic was modified 2 years, 10 months ago by mistermagoo8691.
February 10, 2022 at 11:15 am #1339944Hey Angelo,
Could you post a link to where we can see the element in question please?
Best regards,
RikardFebruary 10, 2022 at 6:55 pm #1340026Thanks @Rikard for your help. I’ve added in Private all the connection info.
At the end of the message in the Cookie Consent Message Bar,I’ve added an HTML tag like this one:
A CLASS="privacyclass" HREF="www.google.com">l'informativa sulla privacy</A
At the beginnign of the QUICK CSS, I’ve added this:
.privacyclass a { color:red!important; }
As you can see below, the link is BLUE, regardless of my pathetic CSS..
THX
Bye,
A.-Thanks for your help!
February 11, 2022 at 9:38 am #1340113Hi,
Thank you for the info.
The class name privacyclass is directly applied to the link tag or element, so the css should be.
a.privacyclass { color: azure; }
— or —
. privacyclass { color: antiquewhite; }
You can also try this css to include all links inside the avia_cookie_text container.
.avia_cookie_text a { color: burlywood; }
Best regards,
IsmaelFebruary 12, 2022 at 12:14 pm #1340257Thanks @Ismael, I still have a long way to go before being able to call myself a css expert…
Solved as usual. Thanks!February 12, 2022 at 1:53 pm #1340265Hi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Stye for a link added to the Cookie Consent Message Bar’ is closed to new replies.