Tagged: x
-
AuthorPosts
-
November 14, 2016 at 3:00 pm #1256962
MBParticipantHi,
We’re having issues setting the length of the post titles so they truncate properly in all viewports.
Essential Grid > Item Skin Editor > Layer Settings > Source > Limit By > ??
We want to replicate the behaviour of our Ethos layout here https://mbguiding.ca/trip-reports/
We want the post titles to truncate automatically when the viewport is smaller not wrap onto another line.
Any ideas?
Thanks, MB
November 14, 2016 at 10:33 pm #1257459
RupokMemberHi there,
It might be possible with some CSS with
text-overflow: ellipsis;on smaller screens. Can you point us where you have used the grid?Thanks!
November 16, 2016 at 9:50 am #1259485
MBParticipantHi Rupok,
On the home page: https://mbguiding.ca/
Ideally I want the titles in grid to ellipse on smaller viewports as they do on blog archive pages https://mbguiding.ca/trip-reports/
Thanks, MB
November 16, 2016 at 2:57 pm #1259878
Rue NelModeratorHello MB,
Thank you for the clarifications! To resolve your issue, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.esg-container .eg-custom-element-1 { display: block; position: relative; z-index: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }You should have something like this: http://prntscr.com/d865c9
Please let us know how it goes.
November 16, 2016 at 3:52 pm #1259982
MBParticipant[RESOLVED] Thank you! 😀
November 16, 2016 at 6:32 pm #1260184
Rue NelModeratorNo Problem! It’s the least that we can do for you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1256962 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
