Plugin Directory

Changeset 3149903


Ignore:
Timestamp:
09/11/2024 08:57:12 AM (18 months ago)
Author:
56degrees
Message:

Improved text display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fsdpcfl-contact-form-lazyload/tags/2.0.0/README.txt

    r3149901 r3149903  
    1616
    1717Example code:
    18 ```
     18``
    1919[lazy-contact-form-7 id="ID form" title="Title form" root-margin="0px" no-observer="false"]
    2020```
    2121
    22 ````
    23 ```
    24 root-margin="0px"
    25 ```
    26 ````
     22= root-margin="0px" =
     23
    2724**root-margin="0px"** sets the size of the base margin, allowing the form to load sooner or later. Root-margin can be set in several ways:
    2825- root-margin supports units such as px and %.
     
    3128    - *root-margin: 20px 50px 20px* - the form will load with margins of 20px on top, 50px on the sides, and 20px on the bottom.
    3229
    33 ``
    34 no-observer="true"
    35 ``
     30= no-observer="true" =
     31
    3632**no-observer="true"** Is a solution aimed at developers who want to have control over exactly when the form is loaded. Setting this option to true will prevent the form from loading automatically on the page, and you will need to manually change the *data-fsdpcfl-src* attribute to *src* using JavaScript.
    3733
Note: See TracChangeset for help on using the changeset viewer.