You need to sign in to do that
Don't have an account?
C@rlito
How to refer to a CSS file for a shared content in Social Forward
Hello All,
I am working on Social Share buttons to share a piece of an email via a share web page. I came across a few issues:
Using the WYSIWYG Editor allows me to share content but after setting it up and switching to the HTML editor, I can't preview the whole code (where I could see the reference to the selected CSS file...). I prefer using the HTML editor but I need to use my custom CSS file(store in Portfolio>Styles>default_styles.css) and I can't make it work via the csskey property - I don't know how to reference it.
Can you help me with the CSS reference? The csskey:"default_styles" does not work. Neither does the full path csskey:"Portfolio Styles default_styles". Here is a sample sample code:
Thanks in advance
I am working on Social Share buttons to share a piece of an email via a share web page. I came across a few issues:
Using the WYSIWYG Editor allows me to share content but after setting it up and switching to the HTML editor, I can't preview the whole code (where I could see the reference to the selected CSS file...). I prefer using the HTML editor but I need to use my custom CSS file(store in Portfolio>Styles>default_styles.css) and I can't make it work via the csskey property - I don't know how to reference it.
Can you help me with the CSS reference? The csskey:"default_styles" does not work. Neither does the full path csskey:"Portfolio Styles default_styles". Here is a sample sample code:
<!-- RegionStart[ contentslot:"Shared%20content%20region%201", title:"This is a brief text that appear in the social media app and as a page title", description:"", csskey:"default_styles"] --> [my HTML and the below links to Share buttons] <!-- Creates a link to share this content with twitter --> <a href="%%=GetSocialPublishURL('11','Shared content region 1')=%%" alias='Social Forward to Twitter' title='Tweet this'> <img src='http://image.herbalifemail.com/lib/fe6915707666017e7d14/m/1/Twitter_tweet_80px.jpg' alt='Twitter' title='Twitter' border='0'></a> <!-- RegionEnd[contentslot:"Shared%20content%20region%201"] -->Here is documentation I refer to while working on this:
- WYSIWYG Editor: https://help.salesforce.com/articleView?id=mc_es_share_content_area_editor.htm&type=5
- HTML Editor https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/GetSocialPublishURLByName.htm
- My CSS is built accordingly, but I dont know how to reference it: https://help.salesforce.com/articleView?id=mc_es_portfolio_css_files_for_social_forward.htm&type=5
Thanks in advance