Email Attribute
-
AuthorPosts
-
BrownC 2 weeks, 2 days ago
Hi again =)
May you please make the email attribute clickable such that when people click on it on the front-end it opens in their emails.
– Thank you
Hi,
Please set this display format, then email addresses will be clickable:
<a href="mailto:%value%">%value%</a>
BrownC 1 week, 6 days agoThank you, done =)
Last thing regarding emails. Please forgive me for not using the correct terminology, I’m learning as I go.
On the homepage and ‘all listings’ page, I’ve set the email to be visible on the posts (before you click on the post) i.e. block (secondary)
but the email runs over the block, how do I make it fit in the block?
If possible send a link to this page, maybe there’s a simple CSS snippet for fixing this.
BrownC 1 week, 5 days agoThe page isn’t published =( So I can’t send a link
You can try using this CSS snippet, it should break long email addressed into multiple lines:
.hp-listing__attributes--secondary hp-listing__attribute span {word-break:break-word;}
BrownC 4 days, 21 hours agoI added this to the ‘additional css’ section and it did not work. There’s a pop-up that says ‘expected: normal | keep-all | break-all”
Please ignore this warning, you can still click “Publish” and this snippet will be saved. It should break long texts without spaces (like emails) into multiple lines.
BrownC 2 days, 23 hours agoTried it, published and refreshed the page, unfortunately still doesn’t work
Sorry, there was a missing dot:
.hp-listing__attributes--secondary .hp-listing__attribute span {word-break:break-word;}
-
AuthorPosts
You must be logged in to reply to this topic.