Sign in

Imposible to change the colors of the GDPR cookie banner

  • This topic has 4 replies, 3 voices, and was last updated 2 weeks, 4 days ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7562
    seb_oi

    I am trying to change the colors of my GDPR cookie banner and the changes are not being reflected.

    I am using the Simple theme and my generic font color is white, the same as the background that is generated in the banner. I have also tried to change the green color of the floating window and it does not work. I have made all the changes in the style.css file of the Simple theme.

    Any advice? Thanks in advance

    #7563
    itips3727

    Assuming you’ve not already modified the core CSS file, in Publii, just go to: Tools & Plugins > Custom CSS and enter the following overrides:

    .cookie-popup__save {background: #000}
    .cookie-popup--uses-badge {background: #000}

    Note: the above example changes the GDPR button(s) background to black (#000) (for the non-AMP site version). However, remember, these buttons should stand out and contrast from the rest of the website design. So black may not be ideal.

     

    #7568
    seb_oi

    Thanks for your answer. I realized that I had an error in a line of the custom css. By the way, I have seen that the amp version does not show the GDPR. Would there be any legal problem in this? I use google analytics and facebook comments on my site. Thanks again

    #7569
    Bob

    This year, we will stop developing AMP as AMP pages are no longer required to rank. The truth is that static pages, especially those generated by Publii (blogs), are very lightweight and fast. We do not see any potential in further developing the AMP pages.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #7570
    seb_oi

    This year, we will stop developing AMP as AMP pages are no longer required to rank. The truth is that static pages, especially those generated by Publii (blogs), are very lightweight and fast. We do not see any potential in further developing the AMP pages.

    I have just been reading a lot about the subject and it seems that it is not very relevant to google, as you say I get incredible results. I’m going to do without the amp version. Thank you very much

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.