Title: insert shortcode in tooltip content &amp; tooltip maximum width
Last modified: May 12, 2021

---

# insert shortcode in tooltip content & tooltip maximum width

 *  Resolved [ckriegel](https://wordpress.org/support/users/ckriegel/)
 * (@ckriegel)
 * [5 years ago](https://wordpress.org/support/topic/insert-shortcode-in-tooltip-content-tooltip-maximum-width/)
 * 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](https://wordpress.org/support/users/ckriegel/)
 * (@ckriegel)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/insert-shortcode-in-tooltip-content-tooltip-maximum-width/#post-14520097)
 * Hi!
    Just checking in to see if you would have any feedback on that? Thank you
   very much, kind regards, Cyrille
 *  Plugin Contributor [supportdeeppresentation](https://wordpress.org/support/users/supportdeeppresentation/)
 * (@supportdeeppresentation)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/insert-shortcode-in-tooltip-content-tooltip-maximum-width/#post-14525341)
 * 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.
    -  This reply was modified 4 years, 11 months ago by [supportdeeppresentation](https://wordpress.org/support/users/supportdeeppresentation/).
 *  Thread Starter [ckriegel](https://wordpress.org/support/users/ckriegel/)
 * (@ckriegel)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/insert-shortcode-in-tooltip-content-tooltip-maximum-width/#post-14536439)
 * Hi Thomas, i understand, thank you for that
    And thanks for the css rule, Kind
   regards, Cyrille
 *  Plugin Author [Tomáš Groulík](https://wordpress.org/support/users/tomasgroulik/)
 * (@tomasgroulik)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/insert-shortcode-in-tooltip-content-tooltip-maximum-width/#post-14547804)
 * 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
    -  This reply was modified 4 years, 11 months ago by [Tomáš Groulík](https://wordpress.org/support/users/tomasgroulik/).
    -  This reply was modified 4 years, 11 months ago by [Tomáš Groulík](https://wordpress.org/support/users/tomasgroulik/).
 *  Thread Starter [ckriegel](https://wordpress.org/support/users/ckriegel/)
 * (@ckriegel)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/insert-shortcode-in-tooltip-content-tooltip-maximum-width/#post-14548983)
 * Hi Tomas,
    Awesome thank you, it works perfectly on my side 🙂 Cyrille

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

The topic ‘insert shortcode in tooltip content & tooltip maximum width’ is closed
to new replies.

 * ![](https://ps.w.org/dp-intro-tours/assets/icon-256x256.gif?rev=2892921)
 * [Intro Tour Tutorial DeepPresentation](https://wordpress.org/plugins/dp-intro-tours/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dp-intro-tours/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dp-intro-tours/)
 * [Active Topics](https://wordpress.org/support/plugin/dp-intro-tours/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dp-intro-tours/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dp-intro-tours/reviews/)

## Tags

 * [maximum width](https://wordpress.org/support/topic-tag/maximum-width/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 3 participants
 * Last reply from: [ckriegel](https://wordpress.org/support/users/ckriegel/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/insert-shortcode-in-tooltip-content-tooltip-maximum-width/#post-14548983)
 * Status: resolved