Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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.-

    #1339944

    Hey Angelo,

    Could you post a link to where we can see the element in question please?

    Best regards,
    Rikard

    #1340026

    Thanks @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!

    #1340113

    Hi,

    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,
    Ismael

    #1340257

    Thanks @Ismael, I still have a long way to go before being able to call myself a css expert…
    Solved as usual. Thanks!

    #1340265

    Hi,
    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Stye for a link added to the Cookie Consent Message Bar’ is closed to new replies.