9 Replies Latest reply on Feb 21, 2018 8:04 AM by Albert Cariaga

    Dynamic Buttons

    Albert Cariaga

      We noticed that CTA buttons for two or three columns does not have the functionality to be dynamic. So we created and inserted a table inside the text element.



      In preview and gmail, the buttons look great(see below image).

      On the other hand, outlook strips the styling elements for the button(see below image).

      Does anyone have a solution for this?

        • Re: Dynamic Buttons
          Keith Nyberg

          Hey Albert,

          I'm not aware of a solution to this as variables in 2.0 emails are not dynamic. Definitely a pain... Following this thread to see what others have to offer as a workaround here, best we have done is just loose the fancy button styling a stuck to basic hyperlinks in rich-text that can be made dynamic. Not as clean as a button, but better that outlook stripping the button formatting.


          Couple ideas to resolve this issue that should be upvoted:

          Guided LP and email 2.0 templates: make variables elligible to dynamic content

          Email editor 2.0: Make whole modules dynamic content



          Keith Nyberg

          1 of 1 people found this helpful
          • Re: Dynamic Buttons
            Trevor Parsell

            Hey Albert,


            The button template below has worked really well for me in outlook and in other email clients. It basically shows one version of the button if viewed in Microsoft and another version when viewed in other email clients. Please note that you will need to update both versions when using this button. The bolded sections below are the link, button color, stroke color, and CTA text that would need to be updated for each new button.


            <table width="100%" border="0" cellspacing="0" cellpadding="0">



            <td style="text-align: center;">

            <div><!--[if mso]>

                      <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="#" target="_blank" style="height:36px;v-text-anchor:middle;width:150px;" arcsize="5%" strokecolor="#f0ab00" fillcolor="#f0ab00">


                        <center style="color:#ffffff;font-family:Helvetica, Arial,sans-serif;font-size:16px;">Read More</center>


                    <![endif]--> <a target="_blank" href="#" style="background-color: #f0ab00; border: 1px solid #f0ab00; border-radius: 5px; color: #ffffff; display: inline-block; font-family: sans-serif; font-size: 16px; line-height: 44px; text-align: center; text-decoration: none; width: 150px; -webkit-text-size-adjust: none; mso-hide: all;">Read More</a></div>









            1 of 1 people found this helpful
            • Re: Dynamic Buttons
              Albert Cariaga

              Wow! This has been super helpful!
              I was able to plug this into our 2.0 template and tested it. It's beautiful


              Thank you guys!