Support » Plugin: Intro Tour Tutorial DeepPresentation » insert shortcode in tooltip content & tooltip maximum width

  • Resolved ckriegel

    (@ckriegel)


    Hi,
    I’m trying to figure out if there is an easy way to do the following :

    1/ insert a shortcode in the content of a step. I already have a shortcode that is able to display the first name of the logged in user, and i would like to show it in a welcome message at the first step on my home page tour (i find this would be a nice touch). However i couldn’t figure out how to have this shortcode interpreted correctly and rendering the first name.

    2/ I have a few step contents which have pretty long sentences, and it creates a very wide tooltip. So i believe it would make sense to have a maximum width defined somewhere to avoid that. Is this feature available somewhere ? Or should i add some custom css for that ?

    Thanks for your feedback,
    Warm regards,
    Cyrille

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ckriegel

    (@ckriegel)

    Hi!
    Just checking in to see if you would have any feedback on that?
    Thank you very much,
    kind regards,
    Cyrille

    Plugin Contributor supportdeeppresentation

    (@supportdeeppresentation)

    Hi Cyrille,
    Sorry for late answer. I took few weeks off. Thank you for your inputs.

    1/ insert a shortcode in the content of a step.

    It is not possible yet, but I will investigate into it and check difficulity and let you know, if I can add it to next release.

    I have a few step contents which have pretty long sentences

    Currently tooltip widths are derived from reference element, but you are right, sometimes it doesn’t look good.
    For now, you can use Enter to escape to next line in text, or add css rule to your theme

    .dpintro-wrapper .dpintro-tooltip{
    max-width: xxxpx;
    }

    I’ll check how this can be done without coding by extra option as there could be cases when tooltip needs to be very wide, so I don’t want set fixed max-width generally.

    Thread Starter ckriegel

    (@ckriegel)

    Hi Thomas, i understand, thank you for that
    And thanks for the css rule,
    Kind regards,
    Cyrille

    Plugin Author Tomáš Groulík

    (@tomasgroulik)

    Hi Cyrille,
    New update is released with:

    • insert a shortcode in the content of a step (PRO only)
    • maximum width option in behavior section of specific tour configuration

    Enjoy
    Tomas

    Thread Starter ckriegel

    (@ckriegel)

    Hi Tomas,
    Awesome thank you, it works perfectly on my side 🙂
    Cyrille

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.