• Resolved dkesov

    (@dkesov)


    The Brand Secondary Colour change does not work properly. It is always white and the text is visible only when I move the mouse over the “Accept” button.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Moove Agency

    (@mooveagency)

    Hi there,

    Thanks for using our plugins.

    I’ve checked your website, and it seems your theme overrides the button background style.

    To fix the issue, add the following code snippet to your functions.php

    add_action('moove_gdpr_inline_styles','moove_extend_gdpr_styles',10,3);
    function moove_extend_gdpr_styles( $styles, $primary, $secondary ) {
    
      $styles .= '#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton { background: ' . $primary . ' }';
      $styles .= '#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton { background: ' . $primary . ' }';
      return $styles;
    }

    I hope this helps and fix the issue for you.

    Thread Starter dkesov

    (@dkesov)

    Hi, the issue is now fixed. Thanks a lot for your support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with Accept button colors’ is closed to new replies.