WordPress: Polldaddy Responsive

Currently, the standard Poll Daddy objects that I use are fixed width and not mobile responsive. Here are some simple CSS styles that I use to make Poll Daddy objects responsive to small devices.

@media only screen and (max-width: 400px) {
    .PDS_Poll { width: 100%; overflow:hidden; }
    .PDS_Poll .pds-box-outer { padding: 0; }
    .PDS_Poll .pds-box { width: 100% !important; border:none !important; }
    .PDS_Poll .pds-input-label { width: 100% !important; margin-left: -25px; padding-left: 25px; }
}

source: shibashake

Artikel terkait:   Responsive Design Testing Tool

Isi Komentar

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

This site uses Akismet to reduce spam. Learn how your comment data is processed.