Avvia un progetto

Come trasformare i link del popup in pulsanti?

FAQ WordPress GDPRVisto 2475 volte

Deprecato dopo la versione 1.5: dalla 1.5 lo stile a pulsante per “Accetto / Rifiuto” è standard. Se vuoi usare pulsanti invece di link, puoi usare il seguente CSS personalizzato:

.wordpress-gdpr-popup-actions {
	margin-top: 15px;
}
.wordpress-gdpr-popup-actions a {
    background: #FF5722;
    color: #FFF;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
}

Ti piace l’aspetto della nostra demo con i pulsanti? Ecco il CSS:

.wordpress-gdpr-popup-agree, .wordpress-gdpr-popup-decline {
    padding: 8px 15px;
    text-decoration: none !important;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}
.wordpress-gdpr-popup-agree {
    background: #FF5722;
    float: left;
}
.wordpress-gdpr-popup-decline {
    background: #9E9E9E;
    float: right;
}
.wordpress-gdpr-popup-actions {
    margin-top: 20px;
}
.wordpress-gdpr-popup-privacy-center, .wordpress-gdpr-popup-read-more {
    display: block;
}
.wordpress-gdpr-popup-privacy-center, .wordpress-gdpr-popup-read-more {
    display: block;
    float: none;
    clear: both;
}