How to style the PayDock widget?

How to style the PayDock widget?

Written by Omar Najjar
Last update: Thursday, Jul 19, 2018

There are a few ways to style the PayDock widget.

 

Inside the Widget's Code 

 

widget.setStyles({

            background_color: 'rgb(30, 144, 255)',

            border_color: 'green',

            text_color: 'black',

            button_color: 'rgba(255, 255, 255, 0.9)',

            font_size: '20px'

        });

 

Set the iframe css 

 <style>

        iframe {

            border: 0;

            width: 100%;

            height: 300px;

        }

    </style>

 Note: Max widget height is 600px at this time

Example

 

PayDock Widget

Getting the most out of the PayDock widget for your customers.

1 article in this category.
Written by Omar Najjar.