• Resolved barnez

    (@pidengmor)


    Also having problems with the latest update.

    A client notified me that the form wasn’t showing, so following the advice on another post I cleared the cache on SuperCache and now the form is back.

    However, something must have changed with the css selector names because the input for numbers field now has a dark brown background. Have you changed some of the css selector names for any of the fields with this latest update?

    Here is the form.

    Thanks.

    https://www.ads-software.com/plugins/calculated-fields-form/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    In the previous versions of this plugin, the “Number” fields were using an input tag with the attribute type=”text”. In the latest versions of the plugin we have modified the “Number” fields to use the type=”number”. This change is very important in mobiles devices, to display directly the numeric keyboard.

    I’ve checked your website. You have redefined the profesional layout of the plugin in the CSS file of the active theme (https://elc-13a1.kxcdn.com/wp-content/themes/motif/style.css), so, you simply should edit this file, specifically the snippet of code:

    .cp_cff_professional #fbuilder select, .cp_cff_professional #fbuilder textarea, .cp_cff_professional #fbuilder input[type="text"], .cp_cff_professional #fbuilder input[type="file"] {
        background: none repeat scroll 0 0 #f6f4e8 !important;
        border: 1px solid #2a697a !important;
        border-radius: 5px !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        outline: medium none !important;
        vertical-align: middle !important;
        padding: 2px;
        color: #575757 !important;
    }

    like follow:

    .cp_cff_professional #fbuilder select, .cp_cff_professional #fbuilder textarea, .cp_cff_professional #fbuilder input[type="text"], .cp_cff_professional #fbuilder input[type="number"], .cp_cff_professional #fbuilder input[type="file"] {
        background: none repeat scroll 0 0 #f6f4e8 !important;
        border: 1px solid #2a697a !important;
        border-radius: 5px !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        outline: medium none !important;
        vertical-align: middle !important;
        padding: 2px;
        color: #575757 !important;
    }

    I’ve included the elements:

    .cp_cff_professional #fbuilder input[type="number"]

    In the previous definition.

    Please, remember to clear the browser’s cache after edit the CSS files.

    Best regards.

    Thread Starter barnez

    (@pidengmor)

    As a temporary measure I can remove the background color using:

    #fbuilder input[type="number"] { background: none !important }

    But it seems like the whole style of this field has changed since the update and it is using one of the default template styles for this field only.

    Thread Starter barnez

    (@pidengmor)

    Go it!
    Thanks very much for your speedy help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with latest update’ is closed to new replies.