Insert icon in pop-up button

Hi,
Is it possible to put an icon near the text link of a pop-up button?
I mean not inside the content pop-up, but in the link to open it.
Thanks!

Comments

  • Hi,
    I'm not 100% sure what you want to achieve.
    Do you want to insert the icon near the pop-up link, right?

    Can you send me a link to your website?
    Also, do you use our popup shortcode?

    Try to use the <i class="icon-name"></i> text.
    The list of icons here:
    Thanks
  • edited March 2019
    Yes, i tried but it seems don't work.

    Here the shortcode, i need to put the icon-email (or similar icon) on the left of "Compila il FORM" on the pop-up title:

    <div class="telefono">
    [divider height="20"]
    <p style="font-family:Raleway; font-size:22px;">Contattaci subito</b>, scegli come:</p>
    [button title="WhatsApp" link="#" target="" icon="icon-whatsapp" icon_position="left" color="" font_color="#FFFFFF" size="2" full_width="" class="" download="" onclick=""]
    [popup title="Compila il FORM" padding="10" button="1"]
    <h4 style="margin-bottom:5px; text-align:center;">Compila il form per <b>prenotare gratuitamente</b> il tuo colloquio informativo</h4>
    <div align="center">[contact-form-7 id="106" title="Contatto mobile"]</div>
    [/popup]
    [divider height="10"]</div>

    The site in costruction is here, you can see two buttons (WhatsApp and Compila il form) below the revolution slider but only on mobile: http://londei.elaboramente.it/
    Thanks!
  • Use this code to display the popup instead the [popup] shortcode:
    [button title="Button" link="#you-custom-id" target="_blank" class="" download="" rel="lightbox" onclick=""]
    <div id="you-custom-id" style="display:none">CONTENT HERE</div>

    You'll be able to add an icon as in the first button
    Thanks
  • It works!
    Thank you so much!
  • Glad to hear that.
    Is there anything else I can help you with?
    Thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.