Home › Forums › Calendar Products › Events Calendar PRO › Line break in Event Descrition
- This topic has 8 replies, 3 voices, and was last updated 9 years, 9 months ago by
Stefan Krueger.
-
AuthorPosts
-
June 19, 2016 at 4:33 pm #1129071
Stefan Krueger
ParticipantHi,
I added a custom field in the box with the event details , which is called “Facebook Event Link” – we post links to our participants event on facebook there. These links are a little to long for the box as you can see here:
http://www.berlinbeerweek.com/?tribe_events=art-craft-street-art-etikettendesign-workshop&lang=en
How can I force a line break for that field, so it looks like the webseite link ?Thanks
June 20, 2016 at 6:21 am #1129206George
ParticipantHey @Stefan,
Thanks for reaching out!
There are, unfortunately, limited possibilities for fixing the display of that link. One thing that might help is to increase the width of the Organizer column and the “Other” column both, so that they are stacked atop each other on the right said of the details box, thus giving the Facebook links enough room to be fully expanded.
Here’s how that would look:
☝️ To do this, you’d just need to add CSS like the following to the bottom of your theme’s style.css file:
body.single-tribe_events .tribe-events-meta-group.tribe-events-meta-group-other
body.single-tribe_events .tribe-events-meta-group.tribe-events-meta-group-organizer {
width: 50% !important
}
I hope this helps!
GeorgeJune 20, 2016 at 5:05 pm #1129581Stefan Krueger
ParticipantHm, interesting.
I put your code into the style.css and for some reason it doesn’t do anything, but I noticed that in Mozilla the line break is done naturally, while Chrome and Internet Explorer don’t do it. (Even with your code)
Any ideas ?June 21, 2016 at 7:52 pm #1130217George
ParticipantJune 24, 2016 at 8:23 am #1131506Stefan Krueger
ParticipantNo, it actually should break, like it does in Mozilla.
June 24, 2016 at 10:17 am #1131603George
ParticipantThank you for clarifying!
Does anything improve if you add the following line of CSS to the bottom of your theme’s style.css file instead of what I recommended above?
dd.tribe-meta-value a {
word-wrap: break-word !important;
}
Thanks!
GeorgeJune 28, 2016 at 2:25 pm #1133170Stefan Krueger
ParticipantYes, it does.
Thanks a lot !
June 28, 2016 at 5:47 pm #1133248George
ParticipantNice! 😀
— George
-
AuthorPosts
- The topic ‘Line break in Event Descrition’ is closed to new replies.


