I used the CMS to collect data about my team members, including links to their social profiles. What I cannot figure out is how (or whether) I can add an image with an icon for each of these links instead of displaying them as plain URl in the collection item I created to display them on the page. Any hints?
This can be done as simple as inserting a link block element with a background image of a social media icon. In your link block settings on the right side of your designer mode, check the box for 'Get URL from (the collection where your social media links are added, could be ‘authors’ or ‘team members’) and then select ‘Open in a new tab’.
thank you so much for your help! This indeed got me one step closer, but I have now the problem that each team member has different contacts they want to show, and by going the way you suggested the icon is shown for all team members. Any idea how I can fix that?
Sorry for the late reply. Now you need to setup conditional visibility for each social media icon.
Best example I can give you is via screenshot. On my website, the video section is only displayed if the video URL is set in the CMS post. Otherwise, if the video URL is not set, then the video section won’t and the page reverts to a normal blog post. Same logic for what you need to do.