• Resolved eduardobartelle

    (@eduardobartelle)


    Cannot change the Accept button size on the banner, or any button size, tried with custom css tab in the plugin and tried with the appearence-customize-additional CSS.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @eduardobartelle,

    You can indeed do this with some CSS under Appearance -> Customize -> Additional CSS. Depending on your preferences you could either make all of the buttons larger, like this:

    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
        height: 80px; /* change value as desired */
    }

    Or specifically for the Accept button, for example.

    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
        height: 80px;
    }

    Kind regards, Jarno

    • This reply was modified 2 years, 2 months ago by Jarno Vos.
    Thread Starter eduardobartelle

    (@eduardobartelle)

    Thank you!

    is there a way that i can make the deny and preferences buttons smaller?

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @eduardobartelle,

    You can do the same for the other buttons, all you have to do is change the selector in the CSS accordingly.

    The first rule attached below can be used for the Deny button, the second one for the View & Save Preferences buttons.

    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny {
        height: 80px;
    }
    
    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences,
    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences {
        height: 80px;
    }
    Thread Starter eduardobartelle

    (@eduardobartelle)

    That will do it!

    thanks!

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

The topic ‘Cannot change accept button size’ is closed to new replies.