Support Forum Support Forum GDPR Cookie Compliance Removing Settings button from modal

Topic Resolution: Resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Premium
    AvatarJohannes Larsson
    July 23, 2020 @ 1:06 pm

    Hello,

    Our UX data shows that many users click the Settings button while all they want is to quickly close the modal. Mac users are also used to having the OK to the right as opposed to Win users. Is it possible to hide/remove the button, since we already have a link in the text for the settings?

    Centering the OK would be an added bonus. Thank you.

    Premium
    AvatarJohannes Larsson
    July 23, 2020 @ 1:08 pm

    This is the button that we want removed: screenshot

    Moove AgencyMoove Agency
    July 23, 2020 @ 1:15 pm

    Hi Johannes,

    Thanks for letting us know about this issue.

    We’ll include this feature to make ‘Settings’ button in the Full-Screen mode optional in the next plugin release.

    I’ll let you know when that’s ready for download.

    Hope this helps.
    Thanks

    Premium
    AvatarJohannes Larsson
    July 23, 2020 @ 1:21 pm

    Great, thank you for your fast response.

    Moove AgencyMoove Agency
    July 28, 2020 @ 9:25 am

    Hi Johannes Larsson,

    Thanks for using our plugins.

    You can add the following code snippet to your functions.php in order to hide the settings button:

    function gdpr_cc_fs_settings_button( $button ) {
    return '';
    }
    add_action( 'gdpr_fs_settings_button', 'gdpr_cc_fs_settings_button' );

    For centring the “ok” button, you can add the code snippet below to your functions.php

    add_action('moove_gdpr_inline_styles','gdpr_cookie_css_extension',10,3);
    function gdpr_cookie_css_extension( $styles, $primary, $secondary ) {
    	$styles .= '#moove_gdpr_cookie_info_bar.gdpr-full-screen-infobar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder { text-align: center; justify-content: center; }';
    	return $styles;
    }

    Hope this helps.

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