{"id":4126,"date":"2018-05-20T19:03:53","date_gmt":"2018-05-20T19:03:53","guid":{"rendered":"https:\/\/demos.welaunch.io\/wordpress-gdpr\/?post_type=faq&#038;p=1718"},"modified":"2020-06-20T12:28:43","modified_gmt":"2020-06-20T10:28:43","slug":"popup-buttons","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/popup-buttons\/","title":{"rendered":"How can I transform popup links to Buttons?"},"content":{"rendered":"<p>Deprecated after Version 1.5. Button Style for Agree \/ Decline are now standard on 1.5.If you want to use buttons instead of links you can use the following custom CSS:<\/p>\n<pre>.wordpress-gdpr-popup-actions {\n\tmargin-top: 15px;\n}\n.wordpress-gdpr-popup-actions a {\n    background: #FF5722;\n    color: #FFF;\n    padding: 8px 20px;\n    border-radius: 20px;\n    text-decoration: none;\n}<\/pre>\n<p><strong>Like the look of our Demo with the buttons?<\/strong> Here is the CSS:<\/p>\n<pre>.wordpress-gdpr-popup-agree, .wordpress-gdpr-popup-decline {\n    padding: 8px 15px;\n    text-decoration: none !important;\n    text-transform: uppercase;\n    display: inline-block;\n    margin-bottom: 10px;\n}\n\n.wordpress-gdpr-popup-agree {\n    background: #FF5722;\n    float: left;\n}\n\n.wordpress-gdpr-popup-decline {\n    background: #9E9E9E;\n    float: right;\n}\n\n.wordpress-gdpr-popup-actions {\n    margin-top: 20px;\n}\n\n.wordpress-gdpr-popup-privacy-center, .wordpress-gdpr-popup-read-more {\n    display: block;\n}\n\n.wordpress-gdpr-popup-privacy-center, .wordpress-gdpr-popup-read-more {\n    display: block;\n    float: none;\n    clear: both;\n}<\/pre>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-4126","faq","type-faq","status-publish","hentry","faq_topics-gdpr-faq"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=4126"}],"version-history":[{"count":0,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4126\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=4126"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=4126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}