• Resolved gattamelata

    (@gattamelata)


    Is it possible to customize the file download box that appears once the form has been submitted?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support maxguru

    (@maxguru)

    What kind of customization are looking to do?

    There is a lot that can be done with CSS.

    The download box code is in the js/frontend.js file (in the plugin directory). Perhaps it can be changed to do what you need, however, one issue is that any changes there will be overwritten by updates. You may be able to hide the original download box with CSS and add your custom version by making your own frontend.js file.

    Thread Starter gattamelata

    (@gattamelata)

    Being able to select the background and border color would be sufficient for my needs

    Plugin Support maxguru

    (@maxguru)

    What you can do is add the following CSS code to the “Additional CSS” input box in your theme’s settings:

    /* Global style for the PDF download box */
    .wpcf7 .wpcf7-pdf-forms-response-output {
    background: #fffbe6; /* change to your color */
    border: 1px solid #f59e0b; /* change to your color */
    color: #1f2937; /* text color */
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin: 1rem 0;
    }

    /* Optional: style the link(s) inside the box */
    .wpcf7 .wpcf7-pdf-forms-response-output a {
    text-decoration: none;
    font-weight: 600;
    }

    Change properties as needed.

    Thread Starter gattamelata

    (@gattamelata)

    That’s what I was looking for. Thank you very much.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Download Box Customization’ is closed to new replies.