Tuesday, 04 August 2020
  2 Replies
  519 Visits
0
Votes
Undo
Hello
In the latest events module, is it easily possible to style just one of the fields? I would like 'location' only to appear in italic. Or does that mean changing CSS somehow?
I am using the following string, but the <i> around the location makes the whole listing italic:

${title}
<i>${location}<i/>
${startDate(%A %B %e)}[!a:, ${startDate(%l:%M %p)} - ${endDate(%l:%M %p)}][a: - All Day]
${content(85|...)}<p/>
Also underneath the list of latest events, there's a link that says "View Full Calendar"; How could I add another after that that says "Add Your Event" with a link to an article?
Thank you so much for any help!
4 years ago
·
#217204
0
Votes
Undo
Hello,

Sure you just have it coded wrong ;-)


${title}
<i>${location}</i>
${startDate(%A %B %e)}[!a:, ${startDate(%l:%M %p)} - ${endDate(%l:%M %p)}][a: - All Day]
${content(85|...)}


Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

4 years ago
·
#217211
0
Votes
Undo
Ah yes. My silly mistake.
Any idea on my second question?
  • Page :
  • 1
There are no replies made for this post yet.