I don’t want this checkbox to be there,
I don’t want this checkbox to be there, and I just want to have an Accept and Reject button. Is that possible?
13 Replies
I don't think so. To use consent management, it has to be linked to a purpose. You can always just hide the checkbox item and the confirm button using css leaving only the accept and reject.
So the CSS can hide elements, not just modify their appearance?
Yes
Can I also set the popup to appear at the bottom instead of covering the whole page like it does on Google Sites using CSS?
Yes, should be able to.
Managed to hide the checkbox but not the button.
Any ideas what I'm doing wrong?
For the save button, you're using a class selector when that name is an id. There is a class, too, but it's named differently than the ID. See here:
I tried both as shown.
This CSS will remove the confirm my choices button
.cf_button.cf_button--save {
display:none !important;
}
To change the colors and change the order you can do something like this:
.cf_button.cf_button--accept {
background-color: #8BC540;
float:right;
}
.cf_button.cf_button--save, .cf_button.cf_button--reject {
background-color: #d7093b;
}
.cf_button:hover {
opacity:0.8;
}
.cf_consent-buttons {
flex-flow: row-reverse;
justify-content: flex-start;
}
This is what I wanted. Thank you.
Did you ever find a way to have the popup appear on the bottom instead of over the whole page? We are looking to do that as well.
It's a matter of repositioning it via CSS