Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
OptimusBain Posted February 26, 2022 Posted February 26, 2022 (edited) Hello, I am using the custom IPS buttons available across the community. It works on the community but when the buttons are inserted in the emails, they will appear as links and not buttons. Is that the way it's been thought or isn't it working properly? See the attachments. That's what I see instead of the defined IPS buttons (also attached). I guess the style is not being converted to html that can be read in mail software. Thanks Edited February 26, 2022 by OptimusBain
Randy Calvert Posted February 26, 2022 Posted February 26, 2022 Buttons are styled through CSS. Many email clients won't process linked stylesheets. The button style would need to be defined in the email template itself. OptimusBain 1
Daniel F Posted February 26, 2022 Posted February 26, 2022 Our emails don‘t include linked stylesheets, all the needed css code is included in the emailWrapper template. OptimusBain 1
Randy Calvert Posted February 26, 2022 Posted February 26, 2022 1 minute ago, Daniel F said: Our emails don‘t include linked stylesheets, all the needed css code is included in the emailWrapper template. Agreed. But OP said he's created a custom button, it would need to be the same CSS code you're using in your emailWrapper template. 🙂
OptimusBain Posted February 28, 2022 Author Posted February 28, 2022 On 2/26/2022 at 8:54 PM, Randy Calvert said: Agreed. But OP said he's created a custom button, it would need to be the same CSS code you're using in your emailWrapper template. 🙂 I explained myself incorrectly 😞 I copied/pasted the IPS button in an email and that's the one I used.
Marc Posted February 28, 2022 Posted February 28, 2022 You would need to look again at your code there, as clearly there is something incorrect there. If its off one of our emails, there is likely other items you have missed that need to go alongside it, but this would be outside the scope of support unfortunately. I can move your ticket to the development forum if you wish, as there may well be people there who can help you achieve what you are looking for?
Solution OptimusBain Posted February 28, 2022 Author Solution Posted February 28, 2022 1 hour ago, Marc Stridgen said: You would need to look again at your code there, as clearly there is something incorrect there. If its off one of our emails, there is likely other items you have missed that need to go alongside it, but this would be outside the scope of support unfortunately. I can move your ticket to the development forum if you wish, as there may well be people there who can help you achieve what you are looking for? No need. I will see how I can do it in a different way. Thanks
Recommended Posts