Forum Replies Created

Viewing 15 posts - 1 through 15 (of 32 total)
  • Author
    Posts
  • in reply to: styles don’t applies on classes #31355
    artsolving
    Participant

    hi,
    tnx issue resolved !

    regards

    in reply to: link on image #31299
    artsolving
    Participant

    hi,
    no error on my side.

    viewroom scegli il layout

    i set the form so you just upload an image on button ” 1 ” on first page. then go on third page where Is the img loaded with the link that should redirect on fourth page.

    tnx

    • This reply was modified 1 year ago by artsolving.
    Attachments:
    You must be logged in to view attached files.
    in reply to: add classes #31254
    artsolving
    Participant

    hi,
    resolved in this way:
    made radio option with 2 choice, give to id element show on div same class of first option setting as default. then give other class on second choice…
    in your opinion is a best practice instead to start with an independent class for the div element and changing it on change the option ?

    tnx

    in reply to: add classes #31221
    artsolving
    Participant

    hi,
    you take wrong field as in image.

    sorry but even other problems happens. I minified the form for your comprension

    viewroom scegli il layout

    it make sense that what I have on CSS editor is different on inspector ?
    also when digit the name of the class on editor it becomes underscored ? seems like an invalid name…

    sure that I haven’t a bug ?

    Attachments:
    You must be logged in to view attached files.
    in reply to: add classes #31209
    artsolving
    Participant

    sorry,
    but I’m very stuck on this.
    I tried adding other option to element and type of classes to all option but the problem is on.
    everything after the second option isn’t considered at all…

    in reply to: add classes #31197
    artsolving
    Participant

    hi ally,
    sorry but the problem remain with radio button not only with fonts but also other styles.

    example:

    CSS:

    .normal {
    font-size: 14px;
    color: black;
    }

    .medium {
    font-size: 16px;
    color: black;
    }

    .large {
    font-size: 24px;
    color: black;
    }

    JS:

    jQuery(function ($) {

    $(‘.quform-field-14_6436’).on(‘change’, function () {

    if ($(‘.quform-field-14_6436_1’).is(‘:checked’)) {
    $(‘#dida1col, #dida2col, #dida3col’).addClass(‘normal’);
    } else {
    $(‘#dida1col, #dida2col, #dida3col’).removeClass(‘normal’);
    }

    if ($(‘.quform-field-14_6436_2’).is(‘:checked’)) {
    $(‘#dida1col, #dida2col, #dida3col’).addClass(‘medium’);
    } else {
    $(‘#dida1col, #dida2col, #dida3col’).removeClass(‘medium’);
    }

    if ($(‘.quform-field-14_6436_3’).is(‘:checked’)) {
    $(‘#dida1col, #dida2col, #dida3col’).addClass(‘large’);
    } else {
    $(‘#dida1col, #dida2col, #dida3col’).removeClass(‘large’);
    }

    });

    });

    Inspector says they take classes but on live quform fields don’t works how classes declare.

    maybe a bug on me ?
    working with Quform last version + WP 5.4.1 + Avada theme

    tnx

    in reply to: display text in HTML #31160
    artsolving
    Participant

    also how do if I want to add another textarea in the form.

    standard code:

    jQuery(function ($) {

    tinymce.on(‘AddEditor’, function () {
    tinymce.activeEditor.on(‘init change keyup blur’, function () {
    $(‘#another-id’).html(tinymce.activeEditor.getContent());
    });

    $(tinymce.activeEditor.getElement()).on(‘key up blur’, function () {
    $(‘#another-id’).html($(this).val());
    });
    });
    })

    tnx a lot

    • This reply was modified 1 year, 1 month ago by artsolving. Reason: addition
    in reply to: display text in HTML #31158
    artsolving
    Participant

    hi,
    tnx for support.
    however I added a function to display an inline editor for a div element.

    jQuery(function ($) {

    tinymce.init({
    selector: ‘div#prova’,
    inline: true
    });

    });

    it open as in image but it works only if I put in the form a textarea with editor enabled.

    1) i want only div element in the form its possible ?
    2) also I try to display the div content in mail notification and nothing appear if I digit some text inside.

    use:

    jQuery(function ($) {

    $(‘#prova’).html(tinymce.inlineEditor.getContent());
    $(‘#prova’).html($(this).val());

    });

    but not work.

    some tips ?

    tnx

    Attachments:
    You must be logged in to view attached files.
    in reply to: add classes #31114
    artsolving
    Participant

    hi,
    sorry but I don’t want apply to the whole theme just the id element.
    some font family are charged for ex. Impact and Courier.
    maybe the issue depend on how I define the family ?

    however tnx for your help

    in reply to: add classes #31102
    artsolving
    Participant

    HI,
    using @import in Settings > custom CSS have no result.
    maybe charging a folder in quform font inside wp-content > plugin > quform ?

    in reply to: display text in HTML #31067
    artsolving
    Participant

    great seems working fine.

    maybe you know to hide this tabs ?

    tnx

    Attachments:
    You must be logged in to view attached files.
    in reply to: add classes #31064
    artsolving
    Participant

    hi,
    checked this too and its same for me but on live shows even a Times font.

    maybe problem with CSS syntax ?

    .roboto {
    font-family: “Roboto”;
    }

    .opensans {
    font-family: “Open Sans”;
    }

    .raleway {
    font-family: “Raleway”;
    }

    tnx

    Attachments:
    You must be logged in to view attached files.
    in reply to: add classes #31057
    artsolving
    Participant
    in reply to: display text in HTML #31050
    artsolving
    Participant

    hi,
    tnx but finded an issue related my form, maybe not…

    want to display to the user the input from a textarea. but the result is always a word next to other so nothing about formatting input as paragraph created, spacer, etc. (so thinking use the duplicate field but not so comfortable for other purpose)

    so I use the editor option for the field but what I input do not appear in the front end. maybe I must use an id that’s not the id field ?
    supposing that’s work for me (relating to obtain the same formatting input from editor to the result displayed for the user) and if you are in touch with plugin TinyMCE editor what about using this setting instead of the classic wp editor to show the content inside ?

    demo page: https://viewroom.altervista.org

    tnx

    Attachments:
    You must be logged in to view attached files.
    in reply to: add classes #31037
    artsolving
    Participant

    tnx,
    however I don’t find a source for a radio button.

    with this CSS

    .montserrat-font{
    font-family: “Montserrat”, sans serif;
    }

    .roboto-font{
    font-family: “Roboto”, sans serif;
    }

    .opensans-font{
    font-family: “Open Sans”, sans serif;
    }

    .raleway-font{
    font-family: “Raleway”, sans serif;
    }

    and this script:

    jQuery(function ($) {

    $(‘.quform-field-14_5358’).on(‘click’, function () {

    if ($(‘.quform-field-14_5358_1’).is(‘:checked’)) {
    $(‘#texthead2col’).addClass(‘montserrat-font’);
    } else {
    $(‘#texthead2col’).removeClass(‘montserrat-font’);
    }

    if ($(‘.quform-field-14_5358_2’).is(‘:checked’)) {
    $(‘#texthead2col’).addClass(‘roboto-font’);
    } else {
    $(‘#texthead2col’).removeClass(‘roboto-font’);
    }

    if ($(‘.quform-field-14_5358_3’).is(‘:checked’)) {
    $(‘#texthead2col’).addClass(‘opensans-font’);
    } else {
    $(‘#texthead2col’).removeClass(‘opensans-font’);
    }

    if ($(‘.quform-field-14_5358_4’).is(‘:checked’)) {
    $(‘#texthead2col’).addClass(‘raleway-font’);
    } else {
    $(‘#texthead2col’).removeClass(‘raleway-font’);
    }

    });

    });

    no result.

    suggestions ?

Viewing 15 posts - 1 through 15 (of 32 total)
Be inspired. © 2020 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy