• Resolved Victoria GR

    (@comolasperasalosperos)


    Hello!

    First of all, thanks for the plugin, it’s great!

    Sorry to disturb… but it’s being impossible to me to change the black hover of the button “accept cookies” and also the X to close the banner, and also other things that I cannot find…

    I’ve been searching in the forum and tried a lot of codes in my functions.php, but none it’s working in my website, so I can match the style…

    I need:
    – to change the black line in the top of the banner with the #F2F2F2 (or erase it).
    – change the background of the banner from white to #F2F2F2.
    – button colour “accept cookies” in rgba(111,188,130,0.75). This is working ok! 😀
    – change the black hover in the buttons “accept cookies” and the “X” to this colour: rgba(220,109,90,0.86)

    I found in the forum this code to change the black hover but it’s not working on my website, I don’t know why…

    add_action(‘moove_gdpr_inline_styles’,’gdpr_cookie_css_button_tyle_extension’,10,3);
    function gdpr_cookie_css_button_tyle_extension( $styles, $primary, $secondary ) {
    ob_start();
    ?>
    #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover,
    #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover,
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton:hover,
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton:hover,
    .gdpr_cookie_settings_shortcode_content .gdpr-shr-button.button-green:hover,
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-save-settings:hover,
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-save-settings:hover {
    color: #fff;
    background-color: #000;
    border-color: #000;
    }
    <?php
    return $styles . ob_get_clean();
    }

    Can somebody help me?

    Super thanks, in advanced!

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Impossible changing hover colour’ is closed to new replies.