New home › Forums › Pro Add-on › General queries › GDPR Opt In Button
- This topic has 4 replies, 3 voices, and was last updated 4 months, 1 week ago by Steven.
-
AuthorPosts
-
September 13, 2020 at 3:52 pm #60826Andreas67Participant
Hello,
is it possible to change the size, color etc. of the Opt In Button from the GDPR Consent Notice?
Thanks
Andreas
September 13, 2020 at 6:04 pm #60827AbelCModeratorHi Andreas,
Thank you so much for getting in touch with us.
This can be achieved with Custom CSS.
Could I kindly ask if you could please provide us with a link to your map page?
Could you also please confirm the preferred size and color for this button?
We will then be able to prepare the code needed to achieve this and get back to you as soon as possible.
I look forward to hearing back from you.
Kind Regards,
AbelSeptember 13, 2020 at 8:12 pm #60828Andreas67ParticipantHi Abel,
thanks for your support!
I have the map on the follwing page. Pervfect where a button is bigger in green above the screenshot, but it would be enough, if the button is bigger.
Hamburger Fotospots / Fotolocations / Sehenswürdigkeiten
Thanks
Andreas
September 14, 2020 at 7:19 am #60833StevenModeratorHi Andreas,
Thank you so much for getting back to us.
Could I kindly ask you to navigate to -> Maps -> Settings -> Advanced -> Please copy the below custom CSS:
.wpgmza-api-consent {
font-size: 30px;
}.wpgmza-gdpr-compliance {
display: flex;
flex-flow: column;
}.wpgmza-centered {
order: 1;
}.wpgmza-gdpr-compliance a {
order: 2;
}Once copied, kindly paste this into the custom CSS field and click save. This should adjust the button size and placement.
Please note, if you would like to adjust the button size some more, simply adjust the “font-size: 30px;” from the above to a slightly higher number.
Kindly let me know if this helps?
Kindest Regards,
Steven De Beer.September 14, 2020 at 12:42 pm #60836Andreas67ParticipantHi Steven,
thanks! Great support!
Greetings
Andreas
September 14, 2020 at 2:45 pm #60838StevenModeratorHi Andreas,
Thank you so much for getting back to me.
I am glad to hear this has helped.
Please do let me know if there is anything more I can help with as I am always eager to assist.
If you ever have two minutes spare, please consider reviewing the plugin on https://wordpress.org/support/plugin/wp-google-maps/reviews/#new-post it would mean the world to me! (If possible, could I ask you to mention both your name and mine in the review for administrative purposes, this would be a tremendous help!)
Do have a fantastic week further!
Kindest Regards,
Steven De Beer -
AuthorPosts
- You must be logged in to reply to this topic.